Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Fixed
-
5.0.10
-
None
Description
When using the Select component, you must explicitly add a blank value to the list of possible values if the selection is optional. It would be nice if there was greater control over this.
1) If the property is optional (as per validation via the validate parameter) then a blank value should appear.
2) When a blank value is added, there needs to be control over the label for the blank value.
3) It would be nice if it were possible to override the validator to "force" the Select to include a blank value even if required.
I think it is reasonable for the blank option to appear first, before an option groups or individual options.
This would be very useful for search forms, or forms where it is desired that the user be forced to make a selection.