I’m trying to implement a m.Input, which only allows inputs in the hh:mm format. I searched the properties but there is no such default option.
TimePicker is no option, because the input should not be limited to 24:00h
So I was wondering if someone has a solution, how I can implement this. I was thinking about some kind of regex implementation.
An additional validation function could be a possible solution, but I find it much cleaner to implement this in a way, that only valid data can be typed in.
Read more here: Source link