mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 05:41:12 +00:00
Bug 1663884 - <input type=number> should use TYPE_NUMBER_FLAG_DECIMAL too. r=m_kato,geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D95773
This commit is contained in:
parent
66310920d1
commit
2d2bc309c9
@ -1640,7 +1640,7 @@ import android.view.inputmethod.EditorInfo;
|
||||
} else if (typeHint.equalsIgnoreCase("number") ||
|
||||
typeHint.equalsIgnoreCase("range")) {
|
||||
outAttrs.inputType = InputType.TYPE_CLASS_NUMBER |
|
||||
InputType.TYPE_NUMBER_VARIATION_NORMAL;
|
||||
InputType.TYPE_NUMBER_VARIATION_NORMAL | InputType.TYPE_NUMBER_FLAG_DECIMAL;
|
||||
} else {
|
||||
// We look at modeHint
|
||||
if (modeHint.equals("tel")) {
|
||||
|
Loading…
Reference in New Issue
Block a user