Closed BennyBaruba closed 6 months ago
Should we consider using error handling for a solution and/or strip out invalid values? For instance, Atlassian will let the user type in a value and then reset once the component's blurred.
We want masked inputs for time-picker. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/time
Closing in favor of https://github.com/Esri/calcite-design-system/issues/2709, where masking will be considered as part of the effort,
Description
As it stands now, users can input any characters into the calcite-input-time-picker.
This enhancement is a request to add the ability to restrict what characters can be typed in directly to the calcite-input-time-picker. For english the user should only be able to type in 2 numbers for each the hour, minutes and seconds and only am or pm in a 12 hour format.
Acceptance Criteria
Relevant Info
A similar issue exists with the calcite-input-date-picker.
Which Component
calcite-input-time-picker
Example Use Case
Priority impact
p4 - not time sensitive
Esri team
ArcGIS Mission