You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by yi...@apache.org on 2022/01/23 07:41:44 UTC
[royale-asjs] branch develop updated: Make sure prompt changes are applied in to mx combo box
This is an automated email from the ASF dual-hosted git repository.
yishayw pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
The following commit(s) were added to refs/heads/develop by this push:
new 501886e Make sure prompt changes are applied in to mx combo box
501886e is described below
commit 501886e431ff57eaabfdfe9d96315bb5d412cde2
Author: Yishay Weiss <yi...@hotmail.com>
AuthorDate: Sun Jan 23 09:41:32 2022 +0200
Make sure prompt changes are applied in to mx combo box
---
frameworks/projects/MXRoyale/src/main/royale/mx/controls/ComboBox.as | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/ComboBox.as b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/ComboBox.as
index ac69a5b..523fa9b 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/ComboBox.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/ComboBox.as
@@ -1001,6 +1001,10 @@ public class ComboBox extends ComboBase
_prompt = value;
promptChanged = true;
invalidateProperties();
+ if (textInput && value != null)
+ {
+ textInput.text = value;
+ }
}
//----------------------------------