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.
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.