Details
-
Type: New Feature
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
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.
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
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
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-9624was created for it.