I have a collapsible feature where you can click to expand or collapse a dropdown. Currently, the dropdown can only be clicked on where the radio button is located. I want the entire area to be clickable so that users can choose the dropdown by clicking anywhere within that area. How can I achieve this?
https://i.stack.imgur.com/5wqDI.png
View Codesandbox example here: CLICK HERE
<Collapse in={expanded} timeout="auto" unmountOnExit>
<Card className="mb-2">
<CardContent className="p-0">
<FormControl className="w-100" component="fieldset">
<RadioGroup value={activeOption} onChange={onSubOptionClicked}>
{subOptions.map((subOption) => (
<ListSubOptionItem
{...subOption}
activeOption={activeOption}
key={subOption.label}
/>
))}
</RadioGroup>
</FormControl>
</CardContent>
</Card>
</Collapse>