Answer the question
In order to leave comments, you need to log in
How to make a plugin in vue?
Good afternoon!
Tell me how you can make your plugin like a datepicker
Required:
At the focus event on the input, a modal window should be shown, with a choice of dates, when a date is selected, it should fall into the selected field.
There can be many fields.
The main thing for me is to understand how to pass this input to a window with dates and then insert a value into it.
Maybe there is some example?
Answer the question
In order to leave comments, you need to log in
Not a plugin, but a component. There are a bunch of ready-made ones, see https://github.com/vuejs/awesome-vue#calendar , but in principle it's easy to do it yourself.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question