You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Howard M. Lewis Ship (JIRA)" <de...@tapestry.apache.org> on 2008/03/06 03:46:57 UTC

[jira] Closed: (TAPESTRY-2214) Select component should provide control over a blank option for optional selects

     [ https://issues.apache.org/jira/browse/TAPESTRY-2214?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Howard M. Lewis Ship closed TAPESTRY-2214.
------------------------------------------

       Resolution: Fixed
    Fix Version/s: 5.0.11

> 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
>            Assignee: Howard M. Lewis Ship
>             Fix For: 5.0.11
>
>
> 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: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org