flatpickr
flatpickr copied to clipboard
Mode multiple + allowInput: should make the space separator optional
Currently, with the options allowInput: true & mode: 'multiple', if you enter several dates with the separator comma and one or several spaces, it works. But if you forget to press a space after the comma, it doesn't work, the date is removed. It's not very user-friendly, I think the space should be optional in the parsing, the comma is enough.
Works --> 01/08/2023, 02/08/2023, 03/08/2023, 05/08/2023
Doesn't work (it removes the 2nd one) -->01/08/2023,02/08/2023, 03/08/2023, 05/08/2023
(copy/paste instead of typing does the same)
conjunction parameter might help.