D
D
del9937882016-12-16 16:44:30
JavaScript
del993788, 2016-12-16 16:44:30

How to switch months with a separate button in flatpickr?

There are such calendars https://jsfiddle.net/hhy2apmp/16/ . How, when you click on the "forward" or "back" buttons, switch the month for these calendars?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
Kovalsky, 2016-12-16
@del993788

You can use secret changeMonth method

E
entermix, 2016-12-16
@entermix

https://chmln.github.io/flatpickr/#api-changeMonth

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question