Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 4.0
-
Fix Version/s: 4.1
-
Component/s: ACE-Components
-
Labels:None
-
Environment:Any, tested with Emporium trunk
-
Assignee Priority:P2
Description
When using <f:selectItem noSelectionOption="true"> as a child of ace:simpleSelectOneMenu the validation will still fire (saying "Value is not valid") even if required="false" (or is not specified).
This validation should ONLY fire when required="true", as per h:selectOneMenu.
This validation should ONLY fire when required="true", as per h:selectOneMenu.
This is actually working correctly right now, the same way as h:selectOneMenu. The only difference is that you need to specify a value to the selectItem that has noSelectionOption="true". It can just be the empty String.
This JIRA will be redirected to cover the case when selectItems using noSelectionOption="true" have no value.