How to open the datepicker programatically? #242
Answered
by
aspyropoulos
aspyropoulos
asked this question in
Q&A
-
The flatpickr docs have the ability to open the datepicker programmatically by using the open() function ie
How can I do this with your plugin in vuejs? |
Beta Was this translation helpful? Give feedback.
Answered by
aspyropoulos
Dec 8, 2021
Replies: 2 comments
-
I just found out. I used the below expression:
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
aspyropoulos
-
https://flatpickr.js.org/instance-methods-properties-elements/ |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I just found out. I used the below expression:
<flat-pickr ref="datepicker" v-model="date"></flat-pickr>