You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by pu...@apache.org on 2019/12/11 11:26:29 UTC
[royale-asjs] branch develop updated: readyOnly = false if editable
= true in Spark TextInput
This is an automated email from the ASF dual-hosted git repository.
pushminakazi 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 41cfc05 readyOnly = false if editable = true in Spark TextInput
41cfc05 is described below
commit 41cfc0541d5cd7c599afd4cece2ab7fee2d8b49e
Author: pashminakazi <42...@users.noreply.github.com>
AuthorDate: Wed Dec 11 16:26:23 2019 +0500
readyOnly = false if editable = true in Spark TextInput
---
.../projects/SparkRoyale/src/main/royale/spark/components/TextInput.as | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/frameworks/projects/SparkRoyale/src/main/royale/spark/components/TextInput.as b/frameworks/projects/SparkRoyale/src/main/royale/spark/components/TextInput.as
index d8ab318..70115a3 100644
--- a/frameworks/projects/SparkRoyale/src/main/royale/spark/components/TextInput.as
+++ b/frameworks/projects/SparkRoyale/src/main/royale/spark/components/TextInput.as
@@ -338,7 +338,7 @@ public class TextInput extends SkinnableTextBase
(element as HTMLInputElement).readOnly = true;
}
else {
- (element as HTMLInputElement).readOnly = value;
+ (element as HTMLInputElement).readOnly = false;
}
}
}