Null default field for select form component #539
Unanswered
julesbouton
asked this question in
Q&A
Replies: 1 comment 2 replies
-
If you want to allow your users to leave the field empty, you can add an empty option at the beginning of the options of your simple select field. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I come up (again) with a question. There is a nice behaviour in a multiple searchable selector: As a default, the field is left empty and if submitted as it is, it returns a NULL value. E.g.:
On the opposite, a multiple selector or a simple selector automatically submits its first value, and it is hard to obtain a default NULL value. (for instance if the user isn't required to select something)
I think that it would be nice to have the first behaviour also for simple selectors (maybe with an additional row-level parameter?)
Beta Was this translation helpful? Give feedback.
All reactions