There is an error in the filamentgroup Date Range Picker onClose event. If you select a date that has the same start and end date, the end date does not get updated but is still set to the previous value. After digging through the code I came up with this solution. In the OnClose event, just get the start and end values like this:
$(‘.range-end’).val()
$(‘.range-start’).val()

You probably are only getting this problem if you are doing some ajax stuff, so anyone else wont’ be affected. The inputs still get updated with correct values, just not at the time this event is fired.



No Responses Yet to “filamentgroup Date Range Picker onClose Error”  

  1. No Comments Yet

Leave a Reply