fix: Can't select date when minDate or maxDate changes.