Sarai-WMDE added a comment.

  Notes from Itamar's investigation:
  
  Using `type="number"` would allow inputting expression like "!" "10+-9" and 
"34e2", but it is not guaranteed to be supported: 
https://bugzilla.mozilla.org/show_bug.cgi?id=1398528
  Also, the pattern attribute is not supported in case we want to use the 
`<input type="number"> `in its current undecided support state but restrict 
other non-desirable values.
  
  As for localized versions (19,7 vs. 19.7 or ١٩.٧), this is currently 
determined by the browser settings rather than the html context: 
https://stackoverflow.com/questions/13412204/localization-of-input-type-number.
  
  Interim conclusion: `<input type="text" >` seems to be the way to go.

TASK DETAIL
  https://phabricator.wikimedia.org/T273795

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: ItamarWMDE, Sarai-WMDE
Cc: ItamarWMDE, Aklapper, Sarai-WMDE, Akuckartz, Nandana, Lahi, Gq86, 
GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, 
Volker_E, Wikidata-bugs, aude, Lydia_Pintscher, Mbch331
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to