tamble / jquery-ui-daterangepicker

A JQuery UI based date range picker.
MIT License
184 stars 110 forks source link

Added updateLabelWithPreset option #70

Open ariacomputer opened 7 years ago

ariacomputer commented 7 years ago

This adds the updateLabelWithPreset option, which will update the label with the name of a selected preset if your range matches one of the preset ranges; otherwise, it updates with the specified range of dates as normal.

The option defaults to false so as not to break backward compatibility.