[richfaces-issues] [JBoss JIRA] (RF-12829) Placeholder doesn't work correctly inside select

Pavol Pitonak (JIRA) jira-events at lists.jboss.org
Wed Mar 6 08:05:56 EST 2013


Pavol Pitonak created RF-12829:
----------------------------------

             Summary: Placeholder doesn't work correctly inside select
                 Key: RF-12829
                 URL: https://issues.jboss.org/browse/RF-12829
             Project: RichFaces
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: component-selects
    Affects Versions: 4.3.1
         Environment: RichFaces 4.3.1.Final
JBoss AS 7.1.1
Chrome 25, Firefox 19
            Reporter: Pavol Pitonak


Fundamental test for rich:placeholder inside rich:select fails. Run it with 
{quote}
mvn clean verify -Pbrowser-firefox -Dintegration=jbossas -Dtest=TestPlaceholderSelect#when_text_is_changed_then_text_changes_color_to_default_and_removes_placeholder_style_classes
{quote}

Page shows a select with placeholder inside it. When a user clicks to select and types some text, it stays gray instead of black even though placeholder's CSS class was already removed from the select's input. This is caused by select's class rf-sel-dflt-lbl. IMHO rich:select should not set this class when the attribute defaultLabel is not set.



--
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


More information about the richfaces-issues mailing list