[
https://issues.apache.org/jira/browse/FLEX-33293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13529183#comment-13529183
]
Carol Frampton commented on FLEX-33293:
---------------------------------------
Or another workaround is to set to true the "showPromptWhenFocused" style which
was added to getCurrentSkinState()` for mobile. You have to do this via
actionscript rather than MXML since it is only allowed for the mobile theme.
> Prompt not displayed when component is inside a PopUpAnchor
> -----------------------------------------------------------
>
> Key: FLEX-33293
> URL: https://issues.apache.org/jira/browse/FLEX-33293
> Project: Apache Flex
> Issue Type: Bug
> Components: Spark: ComboBox, Spark: PopUpAnchor, Spark: TextArea,
> Spark: TextInput
> Affects Versions: Apache Flex 4.8 (parity release)
> Reporter: Maxime Cowez
> Priority: Minor
>
> When you use an input component that has a `prompt` property in combination
> with a PopUpAnchor, the prompt text is never displayed.
> Easily reproduced:
> <s:PopUpAnchor displayPopUp="true">
> <s:VGroup>
> <s:TextInput prompt="test prompt in PopupAnchor"/>
> <s:ComboBox prompt="test prompt in PopupAnchor"/>
> <s:TextArea prompt="test prompt in PopupAnchor"/>
> </s:VGroup>
> </s:PopUpAnchor>
> "test prompt in PopupAnchor" is not displayed in any of the components.
> The bug does not affect DropDownList though; so basically it seems to affect
> only those components that inherit from or compose a SkinnableTextBase.
--
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