text input should be of type âtextâ
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/bacc59b7 Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/bacc59b7 Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/bacc59b7 Branch: refs/heads/dual Commit: bacc59b71e5b2b5f40ed550dccd2807096f521f0 Parents: 04ad0ed Author: Harbs <[email protected]> Authored: Mon Apr 3 16:03:48 2017 -0400 Committer: Harbs <[email protected]> Committed: Mon Apr 3 16:03:48 2017 -0400 ---------------------------------------------------------------------- .../projects/HTML/src/main/flex/org/apache/flex/html/TextInput.as | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/bacc59b7/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/TextInput.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/TextInput.as b/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/TextInput.as index fab027e..0a63c95 100644 --- a/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/TextInput.as +++ b/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/TextInput.as @@ -169,7 +169,7 @@ package org.apache.flex.html override protected function createElement():WrappedHTMLElement { element = document.createElement('input') as WrappedHTMLElement; - element.setAttribute('type', 'input'); + element.setAttribute('type', 'text'); element.className = 'TextInput'; typeNames = 'TextInput';
