Tishka17 / aiogram_dialog

GUI framework on top of aiogram
https://aiogram-dialog.readthedocs.io
Apache License 2.0
688 stars 103 forks source link

Nested radio buttons #430

Closed KapKapkin closed 3 weeks ago

KapKapkin commented 2 months ago

It is possible to nest Radio in ListGroup? For example, getter creates dict with {"properties" : [[choice11, choice12...] , [choice21, choice22...]]}. In this case I need 2 radios, the first one will have a choice of [choice11, choice12...], the second one [choice21, choice22...]. Number of lists like [choice11, choice12...] is unknown.

Tishka17 commented 2 months ago

I'd say you need something to identify elements of top level list for ListGroup logic, the rest is pretty straight forward. So, yes, you can put radio into ListGroup

Tishka17 commented 3 weeks ago

I guess the question was answered