I'm trying to create a time picker component having hour, minute, second in separate inputs. This should be controlled between 2 different timestamps for min and max.
Separate fields work ok, min and max work ok but input does not.
I have
<input
type = number
name = hour
[ngModel] = _hour
(ngModelChange) = updateHour($event)
[min] = _minHour
[max] = _maxHour
placeholder = 00>
When entering 88 sets maximum to 23 (as expected) then entering another 8 sets ngModel to 23 (as expected) but input displays 238, (which is wrong)
I've done a plunker to https://plnkr.co/edit/XUWOim?p=preview
Any ideas?