You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using vue-numeric as currency input on iOS iPhone, the keyboard offered by iOS is suited for the 'tel' html input type, which is just numbers. Comma/Dot for currency input is missing. Android does have it. Since there is no other proper input type than 'text' to get a suitable keyboard, I'd propose to offer an enum for the input type (tel as default or text).
Or one uses 'number', but then the currency symbol has to be rendered elsewhere.
The text was updated successfully, but these errors were encountered:
In short: It's not possible right now. It may be in the future with the inputmode attribute but that isn't supported by any browser yet: https://caniuse.com/#feat=input-inputmode
For now you have to use type="text" which gives you the default keyboard, as suggested above.
Alternatively you could try to implement something with type="number" but it seems like a lot of work to get this to display the currency symbol and even the decimal separator is troublesome in some browsers.
OT: Thanks for this great vue component!
When using vue-numeric as currency input on iOS iPhone, the keyboard offered by iOS is suited for the 'tel' html input type, which is just numbers. Comma/Dot for currency input is missing. Android does have it. Since there is no other proper input type than 'text' to get a suitable keyboard, I'd propose to offer an enum for the input type (tel as default or text).
Or one uses 'number', but then the currency symbol has to be rendered elsewhere.
The text was updated successfully, but these errors were encountered: