You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by ky...@apache.org on 2018/07/05 08:55:38 UTC

[3/4] incubator-weex git commit: support "*#-+" when input type is tel

support "*#-+" when input type is tel


Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/ee91911e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/ee91911e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/ee91911e

Branch: refs/heads/master
Commit: ee91911e536bbb60d5814f79cef5b67470fc6baa
Parents: ebc7ddb
Author: chenfeng <ch...@alibaba-inc.com>
Authored: Thu Jul 5 16:02:29 2018 +0800
Committer: YorkShen <sh...@gmail.com>
Committed: Thu Jul 5 16:53:09 2018 +0800

----------------------------------------------------------------------
 .../java/com/taobao/weex/ui/component/AbstractEditComponent.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/ee91911e/android/sdk/src/main/java/com/taobao/weex/ui/component/AbstractEditComponent.java
----------------------------------------------------------------------
diff --git a/android/sdk/src/main/java/com/taobao/weex/ui/component/AbstractEditComponent.java b/android/sdk/src/main/java/com/taobao/weex/ui/component/AbstractEditComponent.java
index 96c7a30..468cc4e 100644
--- a/android/sdk/src/main/java/com/taobao/weex/ui/component/AbstractEditComponent.java
+++ b/android/sdk/src/main/java/com/taobao/weex/ui/component/AbstractEditComponent.java
@@ -93,7 +93,7 @@ public abstract class AbstractEditComponent extends WXComponent<WXEditText> {
   private TextWatcher mTextChangedEventDispatcher;
   private int mFormatRepeatCount = 0;
   private static final int MAX_TEXT_FORMAT_REPEAT = 3;
-  private static final String INPUT_DIGITS = "1234567890";
+  private static final String INPUT_DIGITS = "1234567890-*#+";
   private static final String INPUT_DIGITS_WITH_DOT = "1234567890.";
 
   private TextPaint mPaint = new TextPaint();