Closed Anaglyph-ic closed 1 year ago
I use input.tables as elaborate selector list, and in most cases I need my users to select only 1 item in the list.
Describe the solution you'd like Add a boolean option that lets you switch from checkboxes (many choices) to radio (only one choice).
Describe alternatives you've considered I can implement this myself, but this sounds overkill compared to you making it standard?
You can provide the option {multiple: false} to force a single selection (see the list of available options and this example).
{multiple: false}
Aaaaand that solves it, thanks for the pointer, sorry for the useless request.
I use input.tables as elaborate selector list, and in most cases I need my users to select only 1 item in the list.
Describe the solution you'd like Add a boolean option that lets you switch from checkboxes (many choices) to radio (only one choice).
Describe alternatives you've considered I can implement this myself, but this sounds overkill compared to you making it standard?