You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 7, 2022. It is now read-only.
There is no documented way to programmatically open and close the picker modal. One would expect this.$refs.datepicker.open() or this.$refs.datepicker.close(). If there is a way to do this right now, it is not in the docs.
@zhegwood One way to achieve this is by adding a ref to the Datetime component and then setting the isOpen property of the ref to true. I wanted to open the picker when the user clicked on a calendar icon adjacent to the input, so here's how I did it:
Versions
Description:
There is no documented way to programmatically open and close the picker modal. One would expect this.$refs.datepicker.open() or this.$refs.datepicker.close(). If there is a way to do this right now, it is not in the docs.
Steps To Reproduce:
https://jsfiddle.net/6nwjyorp/
The text was updated successfully, but these errors were encountered: