Open mtoksen opened 3 years ago
⛔ ⛔ ⛔ WARNING : READ BEFORE CREATING ISSUES ⛔ ⛔ ⛔ This library was abandoned by its owner. I tried to contact him last year with no success. Please cease to open new issues as they will not be handled by him. If you want, there is a fork created by Daniel Moncada and his team which is being currently maintained. Please don't open new issues here so that new users won't be mislead into believing this repo is still up-to-date.
As the title says, it's possible to write letters in the input fields of a owl-date-time where 'pickerType' is set to 'timer'. I believe it is fixable in the "timer-box.component.html" file by adding the some kind of check on the input field on line 21-23:
<input class="owl-dt-timer-input" maxlength="2" [value]="displayValue | numberFixedLen : 2" (input)="handleInputChange(valueInput.value)" #valueInput>
Perhaps a regex check for numbers only could be used?