R
R
Ruslan Absalyamov2019-01-15 15:15:20
Vue.js
Ruslan Absalyamov, 2019-01-15 15:15:20

How can I change the display of the vue-flatpickr-component?

I am using the component https://www.npmjs.com/package/vue-flatpickr-component. Only the config itself changes and the value in the input, but the calendar is not redrawn. How can I make the calendar redraw.
I change the config via watch. How can I dynamically change the calendar to a timer and vice versa
My sandbox where it all released https://codesandbox.io/s/mj7p5m7vjj

Answer the question

In order to leave comments, you need to log in

1 answer(s)
0
0xD34F, 2019-01-15
@rusline18

You can add a key to make the component re-render. Like so .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question