Datepicker UI reset

Is there a way (react) to programmatically reset the Datepicker when using a date range?

If I just reset the control’s value property, it resets the selected dates but the Start/End tabs don’t reset so it becomes weird for the user.

Hi @MichaelBrown,

You can change the currently selected range label with the setActiveDate method.

1 Like

@gabi that did the trick, thanks! It wasn’t super clear what that method did in the documentation hence the confusion, however it seems kinda obvious now.