Programmatically clearing Input Date Picker value when user input invalid does not work #10169
Open
3 of 6 tasks
Labels
2 - in development
Issues that are actively being worked on.
bug
Bug reports for broken functionality. Issues should include a reproduction of the bug.
calcite-components
Issues specific to the @esri/calcite-components package.
calcite-components-react
Issues specific to the @esri/calcite-components-react package.
estimate - 5
A few days of work, definitely requires updates to tests.
impact - p3 - not time sensitive
User set priority impact status of p3 - not time sensitive
p - medium
Issue is non core or affecting less that 60% of people using the library
Milestone
Check existing issues
Actual Behavior
This might be related to #8595
Programmatically clearing the value property of an Input Date Picker component does not clear the value of the underlying input element when the user-entered date format was invalid.
Expected Behavior
When the value property of the Input Date Picker component is set to an empty or null value, it should clear the contained input, regardless of whether the previous input was valid.
Reproduction Sample
https://codepen.io/cx_evan/pen/QWXBLyy
Reproduction Steps
Reproduction Version
2.11.1
Relevant Info
No response
Regression?
No response
Priority impact
impact - p3 - not time sensitive
Impact
No response
Calcite package
Esri team
N/A
The text was updated successfully, but these errors were encountered: