IgxDateRangePickerComponent's calendar should display selected range if both start and end are filled and valid #7593
Labels
📅 date-range-picker
🧰 feature-request
version: 9.1.x
✅ status: resolved
Applies to issues that have pending PRs resolving them, or PRs that have already merged.
Is your feature request related to a problem? Please describe.
The
IgxDateRangePickerComponent
with input projections will update its inputs on each calendar interaction. This means that if you were to select a single date - thestart
input will be filled in, then selecting another date (finalizing the range selection) will fill in theend
input. Additionally, clearing thestart
input will also clear theend
input but clearing theend
input will notclear
the start input and upon opening the calendar we will still have a selected value even though there is no defined range in the editable inputs. Closing the calendar in this state will update theend
input with the value of thestart
input.Describe the solution you'd like
To fix these inconsistencies we've come to an agreement that the following behavior is preferable:
start
input, closing the calendar in this state will not update theend
input.Also, the validity of the
IgxDateRangePickerComponent
will continue to be determined based on the following factors:ngModel
:ngModel
they will be validated separatelyDescribe alternatives you've considered
n/a
Additional context
n/a
The text was updated successfully, but these errors were encountered: