I have a list of options for users to select between but I want a "None" option to stand as mutually exclusive to all others. Ideally I would like to disable all other options when None is selected and disable None when any other is selected.
Things already known, just guessing that might come up:
- I can get the list of values and manage it on a Deluge script, that part is not an issue.
- I know I can validate the form on submit which would be a fall back option but enforcing this as the user interacts would be preferred.
- I know we can add and remove elements from the list but elements potentially disappearing/reappearing from the list as they are inputting (and elements moving from under their cursor) could lead to mistakes and wouldn't be a great user experience.
- A radio button wouldn't quite do what I want here. It's either "None" on it's own or it's any number of the options, not just one.
Anyone solved anything like this before?
Is it possible to set individual ui checkboxes as disabled?