-
Notifications
You must be signed in to change notification settings - Fork 81
Open
Labels
ArcGIS OnlineIssues logged by ArcGIS Online team members.Issues logged by ArcGIS Online team members.bugBug reports for broken functionality. Issues should include a reproduction of the bug.Bug reports for broken functionality. Issues should include a reproduction of the bug.c-input-date-pickerIssues that pertain to the calcite-input-date-picker componentIssues that pertain to the calcite-input-date-picker componentcalcite-componentsIssues specific to the @esri/calcite-components package.Issues specific to the @esri/calcite-components package.impact - p2 - want for an upcoming milestoneUser set priority impact status of p2 - want for an upcoming milestoneUser set priority impact status of p2 - want for an upcoming milestoneneeds triagePlanning workflow - pending design/dev review.Planning workflow - pending design/dev review.
Description
monday.com sync: #11003724392
Check existing issues
- I have checked for existing issues to avoid duplicates
Which Component
Input Date Picker
Actual Behavior
To reset the calcite-input-date-picker to a blank date, you can set valueAsDate to "" or undefined. However, neither of these options are available in the typings.
Expected Behavior
"" and/or undefined typings should be added.
Reproduction Sample
https://codepen.io/iyouth66/pen/GgqrJqQ
Reproduction Steps
- Open https://codepen.io/iyouth66/pen/GgqrJqQ?editors=1010
- Observe that you can reset the date picker to a blank "MM/DD/YYYY" display by setting
valueAsDateto""orundefined, but neither of those options is explicitly available in the typings.
Reproduction Version
5.0
Relevant Info
cc @eriklharper per our discussion. Thanks for helping triage this!
Regression?
No response
Priority impact
impact - p2 - want for an upcoming milestone
Impact
AGOL would benefit from updated typings as we "zero out" dates frequently.
Calcite package
- @esri/calcite-components
- @esri/calcite-components-react
- @esri/calcite-design-tokens
- @esri/calcite-ui-icons
- @esri/eslint-plugin-calcite-components
Esri team
ArcGIS Online
Metadata
Metadata
Assignees
Labels
ArcGIS OnlineIssues logged by ArcGIS Online team members.Issues logged by ArcGIS Online team members.bugBug reports for broken functionality. Issues should include a reproduction of the bug.Bug reports for broken functionality. Issues should include a reproduction of the bug.c-input-date-pickerIssues that pertain to the calcite-input-date-picker componentIssues that pertain to the calcite-input-date-picker componentcalcite-componentsIssues specific to the @esri/calcite-components package.Issues specific to the @esri/calcite-components package.impact - p2 - want for an upcoming milestoneUser set priority impact status of p2 - want for an upcoming milestoneUser set priority impact status of p2 - want for an upcoming milestoneneeds triagePlanning workflow - pending design/dev review.Planning workflow - pending design/dev review.