pydantic / FastUI

Build better UIs faster.
https://fastui-demo.onrender.com
MIT License
8.25k stars 317 forks source link

Radios and Toggle Buttons #160

Open ederst opened 9 months ago

ederst commented 9 months ago

Is it possible render radios and/or toggle buttons in forms with FastUI?

For example:

From my understanding it is only possible to do checkboxes and toggle switches (https://github.com/pydantic/FastUI/issues/32) right now.

samuelcolvin commented 9 months ago

PR welcome to add radio buttons, although I generally find select a better interface.

Stacked checkboxes might be a nice alternative to multi-select.