Is it possible to combine plugin "monthSelect" with "mode: 'multiple' ?
I want to select multiple months in my project.
But it did not work out with below options:
config: { mode: 'multiple', plugins: [ new monthSelectPlugin({ shorthand: true, dateFormat: 'Y-m', altFormat: 'F Y' }) ] }
Does not the plugin "monthSelect" suport mode 'multiple' ? How can I achieve it with flatpickr ?
Thanks.
Unfortunately, it does not support multiple months.
If you have the time and disposition, it would be great if you could update the plugin yourself and do a pull request. Otherwise, this would go into the queue to be worked on on a future date.
Is anyone working on this? This would be great extra functionality to have.
I had a look at it but wasn't sure where to start, would it be the monthSelect plugin itself or on the base project?
Same question but for { mode: 'range }
It would be something like this :
config: { mode: 'range', plugins: [ new monthSelectPlugin({ shorthand: true, dateFormat: 'Y-m', altFormat: 'F Y' }) ] }
It would be very useful.
Is anyone working on this? This would be great extra functionality to have.
I had a look at it but wasn't sure where to start, would it be the monthSelect plugin itself or on the base project?
+1
Any news on this issue?
Any work around?
For me it is working
{ mode: 'range', dateFormat: 'd/m/y', plugins: [ new monthSelectPlugin({ shorthand: true, theme: "light" }) ], onChange: (selectedDates) =>{ console.log(selectedDates); } }
it will print in console