Closed rwestlund closed 8 years ago
Open/close isn't really a feature of the time picker -- that's the job of the dialog. You can set the view
property to "hours"
when the dialog closes to reset it. I've updated the demo to show how this is done.
That works, thanks.
Versions
Steps to reproduce
Expected behavior
Regardless of how many times the picker is opened, hours should be shown first.
Actual behavior
When I open the time picker a second time, it shows the minute picker, bypassing the hour picker.
Cause
It looks like
this.mode
is set tohours
inready()
, but nothing else resets it back to hours. It could be reset duringopen()
, or perhaps areset()
function could be added.Thanks for such a great element :)