What we are looking to do is, have an input that only accepts 0 - 24 (for a time entry application).
These are the values the user should be able to enter into the inpu
You can change your input to match a pattern: