How can we improve the Microsoft Edge developer experience?

[inputmode] content attribute

The inputmode content attribute is an enumerated attribute that specifies what kind of input mechanism would be most helpful for users entering content into the form control.

http://www.w3.org/html/wg/drafts/html/master/forms.html#attr-fe-inputmode

215 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    Jonathan Sampson [MSFT] shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    3 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      Signed in as (Sign out)
      Submitting...
      • G15 commented  ·   ·  Flag as inappropriate

        It is extremely useful to be able to ask for the correct keyboard without having to change the type of your input element. There are so many examples where input[type=number] is really not applicable but you do want a numeric keyboard.

      • scunliffe commented  ·   ·  Flag as inappropriate

        This is helpful for other reasons too. Currently type="number" is great and shows the correct keyboard on mobile devices. However any attempt to set a partial value, or use any of the selection properties/methods fails. Having the inputmode attribute available would mean we can choose the best input device keyboard but not suffer the side-effects of setting the field as number.

      Feedback and Knowledge Base