Hi,
There might be an issue with the DateRangePicker - when dates are removed manually from inputs (e.g., select, then delete) and something like month/day/year is displayed, incorrect dates are returned when I use API.
var range = daterangepicker.range()
The issue can be reproduced in the DateRangePicker demo page. Steps to reproduce:
Is it a bug or I do something wrong? I am using 2024.1.3016. Is it fixed in the latest version? If not - any timeframe when it could be fixed?
As of now I am using workaround - if an input value contains a letter, the then I assume date = null. Otherwise, I keep the value from range object. Is there a better way to work around the issue?
Thank you.
Regards,
Aleksey Gasnikov