[go: nahoru, domu]

Skip to content
This repository has been archived by the owner on Jun 3, 2021. It is now read-only.

Commit

Permalink
[WEEX-490][Android] Fix input type is number
Browse files Browse the repository at this point in the history
  • Loading branch information
miomin authored and YorkShen committed Jul 24, 2018
1 parent 2667bd0 commit 889f4a5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -690,7 +690,7 @@ private int getInputType(String type) {
inputType = InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_VARIATION_URI;
break;
case Constants.Value.NUMBER:
inputType = InputType.TYPE_CLASS_NUMBER;
inputType = InputType.TYPE_CLASS_NUMBER | InputType.TYPE_NUMBER_FLAG_DECIMAL;
break;
default:
inputType = InputType.TYPE_CLASS_TEXT;
Expand Down

0 comments on commit 889f4a5

Please sign in to comment.