Skip to content

Commit

Permalink
Chrome prevents + Firefox/Safari allow non-numeric user input to numb…
Browse files Browse the repository at this point in the history
…er fields (#25642)

Chrome prevents and Firefox/Safari allow non-numeric user input in the input Number state
  • Loading branch information
caugner authored Jan 14, 2025
1 parent 94cdbb7 commit 32d131b
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions html/elements/input/number.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,16 @@
],
"support": {
"chrome": {
"version_added": "7"
"version_added": "7",
"notes": "Prevents users from typing non-numeric content."
},
"chrome_android": "mirror",
"edge": {
"version_added": "12"
},
"firefox": {
"version_added": "29"
"version_added": "29",
"notes": "Allows users to type non-numeric content, with the `value` reflecting an empty string."
},
"firefox_android": "mirror",
"ie": {
Expand All @@ -29,7 +31,8 @@
"opera": "mirror",
"opera_android": "mirror",
"safari": {
"version_added": "5.1"
"version_added": "5.1",
"notes": "Allows users to type non-numeric content, with the `value` reflecting an empty string."
},
"safari_ios": "mirror",
"samsunginternet_android": "mirror",
Expand Down

0 comments on commit 32d131b

Please sign in to comment.