[Custom Input Masks] Format Timer to input
Question
Forge component by Sara Gonçalves

Hi everyone.

I have this problem: in my application i have a input with a "Time" type and I need select from 00 to 24 hrs format but when i probe in my cellphone the format is 00 to 12 hrs, How can I solve this? thanks!

Result in laptop with chrome:

Result in laptop with Firefox


Result in phone:


Hi Paulo,


If you select and set, for instance 23:55, on your mobile device what is the value on the input field?


I tried it without the forge component on my mobile and it worked fine. Are you sure you need the component (this component will not work on native apps).


If you need some kind of other specific format, check the documentation for the input type time (pattern):

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/time


Regards.


Joao

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.