FastUI
FastUI copied to clipboard
Radios and Toggle Buttons
Is it possible render radios and/or toggle buttons in forms with FastUI?
For example:
- https://getbootstrap.com/docs/5.1/forms/checks-radios/#radios
- https://getbootstrap.com/docs/5.1/forms/checks-radios/#default-stacked
- https://getbootstrap.com/docs/5.1/forms/checks-radios/#toggle-buttons
From my understanding it is only possible to do checkboxes and toggle switches (https://github.com/pydantic/FastUI/issues/32) right now.
PR welcome to add radio buttons, although I generally find select
a better interface.
Stacked checkboxes might be a nice alternative to multi-select.