I have two vaadin-text-field
component in my app which is used for inputting hour(0-23) and minute(0-59). What will be the pattern for it?
<vaadin-text-field id="minute" style="width:40px" pattern="[0-5][0-9]" prevent-invalid-input>
The above example does not work, no input is accepted. I may be using the wrong regex. Can someone please tell me what is the right regex for hour and minute input?
Thanks.