ICEfaces
  1. ICEfaces
  2. ICE-9623

Added 'placeholder' attribute to ace:autoCompleteEntry, ace:comboBox, and ace:textAreaEntry

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0.BETA, 4.0
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      Any

      Description

      As several HTML5 features from mobi:inputText were integrated into ace:textEntry (MOBI-877), it would be convenient to add support for the 'placeholder' attribute to the rest of the ACE text components.

      Note that this feature is equivalent to using the 'inField' option of the 'labelPosition' attribute in the ACE text components. So, if the 'placeholder' attribute is used and the browser doesn't support HTML5, then the existing 'labelPosition' functionality should be used instead.

        Activity

        Hide
        Arturo Zambrano added a comment -

        Committed improvement at revision 38355. Added 'placeholder' attribute to ace:autoCompleteEntry, ace:comboBox, and ace:textAreaEntry. Added support for older browsers by using the inField label functionality when the 'placeholder' attribute is not supported.

        This attribute wasn't added to ace:maskedEntry because it already has an attribute named 'placeholder', which is used to define the format of the value. An issue with inField labels in ace:maskedEntry was found and ICE-9624 was created for it.

        Show
        Arturo Zambrano added a comment - Committed improvement at revision 38355. Added 'placeholder' attribute to ace:autoCompleteEntry, ace:comboBox, and ace:textAreaEntry. Added support for older browsers by using the inField label functionality when the 'placeholder' attribute is not supported. This attribute wasn't added to ace:maskedEntry because it already has an attribute named 'placeholder', which is used to define the format of the value. An issue with inField labels in ace:maskedEntry was found and ICE-9624 was created for it.

          People

          • Assignee:
            Arturo Zambrano
            Reporter:
            Arturo Zambrano
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: