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 <[email protected]>
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;
+        }
     }
     
     //----------------------------------

Reply via email to