FastUI icon indicating copy to clipboard operation
FastUI copied to clipboard

Radios and Toggle Buttons

Open ederst opened this issue 1 year ago • 1 comments

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.

ederst avatar Jan 23 '24 10:01 ederst

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

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

samuelcolvin avatar Feb 09 '24 07:02 samuelcolvin