calcite-design-system
calcite-design-system copied to clipboard
Input date picker with range ignores valueAsDate parameter
Actual Behavior
InputDatePicker with the range parameter ignores the valueAsDate parameter value and the input element stays empty.
The single inputDatePicker honours the valueAsDate parameter with a pre filled date value in the input element
Expected Behavior
The inputDatePicker element with the range parameters should contain the pre filled values when passing the [new Date(), new Date()] array in the valueAsDate parameter
Reproduction Sample
https://codepen.io/arjan_esrinl/pen/JjLVKwV?editors=1001
Reproduction Steps
- Open the codepen: https://codepen.io/arjan_esrinl/pen/JjLVKwV?editors=1001
- Notice the missing values in the second inputDatePicker
Reproduction Version
1.0.0-beta.91
Relevant Info
Windows 11 Chrome 104.0.5112.81 (Official Build) (64-bit) Firefox 95.0 (64-bit)
Regression?
No response