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 d24afcb  Add a stub for textinput_changeHandler so overrides are 
successful.
     new fcc608b  Merge branch 'develop' of 
https://github.com/apache/royale-asjs into develop
d24afcb is described below

commit d24afcbee7c80ebe9210ac59bc7d4eb58139b606
Author: DESKTOP-RH4S838\Yishay <[email protected]>
AuthorDate: Thu Mar 5 15:21:31 2020 +0200

    Add a stub for textinput_changeHandler so overrides are successful.
---
 .../MXRoyale/src/main/royale/mx/controls/ComboBase.as        | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git 
a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/ComboBase.as 
b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/ComboBase.as
index cd2ffba..439ce32 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/ComboBase.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/ComboBase.as
@@ -809,6 +809,18 @@ public class ComboBase extends UIComponent implements 
/*IIMESupport,*/ IFocusMan
         return _textInputStyleFilters;
     }
     
+    override public function addedToParent():void
+    {
+        super.addedToParent();
+        textInput.addEventListener(Event.CHANGE, textInput_changeHandler);
+    }
+
+    protected function textInput_changeHandler(event:Event):void
+    {
+        // override this
+    }
+
+    
     private static var _textInputStyleFilters:Object =
     {
         "backgroundAlpha" : "backgroundAlpha",

Reply via email to