calcite-input-text doesn't show anything when pattern is not matched #11148
Labels
0 - new
New issues that need assignment.
ArcGIS Solutions
Issues logged by ArcGIS Solutions team members.
bug
Bug reports for broken functionality. Issues should include a reproduction of the bug.
calcite-components
Issues specific to the @esri/calcite-components package.
impact - p3 - not time sensitive
User set priority impact status of p3 - not time sensitive
needs triage
Planning workflow - pending design/dev review.
Check existing issues
Actual Behavior
The sample line
only honors the max-length restriction. There's no lack-of-validity display when the text is too short or doesn't match the pattern. (Also tried with "^" prefix and "$" suffix.)
Expected Behavior
Highlights like we see in MDN, e.g., if value is too short:
MDN playground source:
Reproduction Sample
https://codepen.io/miketschudi/pen/GgKEaPY?editors=100
Reproduction Steps
above CodePen is for 3.0.0-next.81. For 2.13.2,
https://codepen.io/miketschudi/pen/WbeOBLV?editors=100
Reproduction Version
3.0.0-next.81
Relevant Info
Windows 11 Enterprise using Chrome 131.0
Here's what the component shows when given "not an id!" in the calcite-input-text field:
Regression?
No response
Priority impact
impact - p3 - not time sensitive
Impact
no effect yet--just found this in a prototype for future work
Calcite package
Esri team
ArcGIS Solutions
The text was updated successfully, but these errors were encountered: