Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TimePicker - input type number #2334

Closed
andrepaulo opened this issue Apr 20, 2018 · 7 comments · Fixed by #3247
Closed

TimePicker - input type number #2334

andrepaulo opened this issue Apr 20, 2018 · 7 comments · Fixed by #3247

Comments

@andrepaulo
Copy link

Hi,

As timepicker should never accept characters, if I'm not mistaken, why not set the input being used to [type="number"], so we could use the advantage of browsers to block non-numerical characters input?

Is it a feasible request?

@LoneyGG
Copy link

LoneyGG commented Apr 24, 2018

@andrepaulo is right, it makes no sense having it as a type=text

@pkozlowski-opensource
Copy link
Member

We didn't use type="number" initially because of IE9 support but since Bootstrap dropped IE9, we could this indeed.

@metodribic
Copy link

metodribic commented Nov 21, 2018

@pkozlowski-opensource Can you explain why is this a breaking change?

@denkomanceski
Copy link

denkomanceski commented Feb 18, 2019

Any progress on this? It really ruins the UX on mobile.. the user needs to switch the keyboard to numeric twice (once for hour, once for minute)

@premalatha-bv
Copy link

Any update on this?

@w-veltman
Copy link

Is there any update on this?

@maxokorokov
Copy link
Member

maxokorokov commented Nov 15, 2019

While we have to support IE, we can't do <input type="number">. It also has some problems in Firefox

As a compromise #3247 adds numeric keyboard on mobile and limits input to numbers only programmatically

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment