You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found an error in this plugin when I select by default date the same date that I use as a max date at the moment to configure this plugin..
Example: function configDateRangePickerWithMaxMin(max = null) { return { format: 'DD-MM-YYYY', language: 'es', separator: ' al ', endDate: (max != null) ? moment(max, "DD-MM-YYYY").toDate() : null, monthSelect: true, yearSelect: true, getValue: function () { return $(this).val(); }, } }; var today = moment(new Date).format("DD-MM-YYYY"); //daterange input $("#reportrange-busqueda").dateRangePicker(configDateRangePickerWithMaxMin(today)) $("#reportrange-busqueda").data('dateRangePicker').setDateRange(today , today);
I hope this issue help you to improve this great plugin
The text was updated successfully, but these errors were encountered:
I found an error in this plugin when I select by default date the same date that I use as a max date at the moment to configure this plugin..
Example:
function configDateRangePickerWithMaxMin(max = null) { return { format: 'DD-MM-YYYY', language: 'es', separator: ' al ', endDate: (max != null) ? moment(max, "DD-MM-YYYY").toDate() : null, monthSelect: true, yearSelect: true, getValue: function () { return $(this).val(); }, } }; var today = moment(new Date).format("DD-MM-YYYY"); //daterange input $("#reportrange-busqueda").dateRangePicker(configDateRangePickerWithMaxMin(today)) $("#reportrange-busqueda").data('dateRangePicker').setDateRange(today , today);
I hope this issue help you to improve this great plugin
The text was updated successfully, but these errors were encountered: