I have a radio group and each value has subentries, for example:
The user chooses "Cat" and gets the subentries related to the chat. There can be any number of subentries.
But the problem with this arrangement is that "Horse" is the closest to the subentries. The user can therefore assume that the subentries are linked to "Horse" and not to "Cat".
So I change the classic radio buttons to a horizontal bar:
BUT they have a problem with the fact that the text in the buttons can be quite long, which creates multi-line radio buttons, which is not very pretty.
Do you have an idea of the type of control to use in this case?
I choose animals as an example, in fact, everything is a bit more complicated.