[
https://issues.jboss.org/browse/RF-12474?page=com.atlassian.jira.plugin.s...
]
Lukáš Fryč commented on RF-12474:
---------------------------------
I propose to change a documentation here, since re-implementing the component to send
invalid value to server might bring undesired component behavior changes.
I also propose to document {{rf-sel-fld-err}} class usage and introduce sensible default
for invalid {{rich:select}} input: e.g. red font.
rich:select with enableManuelInput="true": Validation
message is not displayed when the submitted value is not on the list.
----------------------------------------------------------------------------------------------------------------------------
Key: RF-12474
URL:
https://issues.jboss.org/browse/RF-12474
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: component-selects
Affects Versions: 4.2.2.Final
Reporter: Ilia Vassilev
Assignee: Lukáš Fryč
Priority: Critical
Fix For: 4.3.0.Milestone2
Per the [RichFaces
documentation|https://access.redhat.com/knowledge/docs/en-US/JBoss_Web_Fr...]:
{quote}
...If an invalid value is entered, it is highlighted as erroneous and validation messages
appear with the submission...
{quote}
The validation message is not displayed when entering an invalid value (which is not on
the list) and submitting it.
Test code:
{code}
<rich:select id="idSelect" value="#{backingBean.value}"
enableManualInput="true">
<f:selectItem itemLabel="Option 1" itemValue="Option 1" />
<f:selectItem itemLabel="Option 2" itemValue="Option 2" />
</rich:select>
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira