Runtime toggle groups and dropdown input

I want to create a dropdown for my runtime UI like I can with UGUI which, when clicked on, reveals an array of toggles where only one option can be selected at a time.

I understand a foldout can let me show and hide a visual element which i can place toggles into but how would I go about easily controlling a group of toggles so that only one of them can be marked true at a time?

Do I need to control this manually in code?

Catch a click event and reset the rest?

Yes, you need to link them up in code.