Select component should provide control over a blank option for optional selects
--------------------------------------------------------------------------------

                 Key: TAPESTRY-2214
                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2214
             Project: Tapestry
          Issue Type: New Feature
          Components: tapestry-core
    Affects Versions: 5.0.10
            Reporter: Howard M. Lewis Ship


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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to