You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ah...@apache.org on 2019/12/03 21:51:30 UTC

[royale-asjs] 01/02: this was already implemented in TextInput. It can't go here as TextArea does not use an HTMLInputElement

This is an automated email from the ASF dual-hosted git repository.

aharui pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git

commit d2fac6c507ecfada85be46749179459660a0d4fc
Author: Alex Harui <ah...@apache.org>
AuthorDate: Tue Dec 3 13:50:34 2019 -0800

    this was already implemented in TextInput.  It can't go here as TextArea does not use an HTMLInputElement
---
 .../main/royale/spark/components/supportClasses/SkinnableTextBase.as | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/frameworks/projects/SparkRoyale/src/main/royale/spark/components/supportClasses/SkinnableTextBase.as b/frameworks/projects/SparkRoyale/src/main/royale/spark/components/supportClasses/SkinnableTextBase.as
index 5bb371b..8f6f098 100644
--- a/frameworks/projects/SparkRoyale/src/main/royale/spark/components/supportClasses/SkinnableTextBase.as
+++ b/frameworks/projects/SparkRoyale/src/main/royale/spark/components/supportClasses/SkinnableTextBase.as
@@ -1238,11 +1238,6 @@ public class SkinnableTextBase extends SkinnableComponent
             return;
             
         _maxChars = value;
-		COMPILE::JS
-		{
-			(element as HTMLInputElement).maxLength = value;
-			//dispatchEvent(new Event('htmlTextChanged'));
-		}  
     } 
 
     //----------------------------------