[Rating and Slider] Add form support via required
and validationMessage
for error handling
#9999
Closed
2 of 6 tasks
Labels
4 - verified
Issues that have been released and confirmed resolved.
bug
Bug reports for broken functionality. Issues should include a reproduction of the bug.
Calcite (design)
Issues logged by Calcite designers.
calcite-components
Issues specific to the @esri/calcite-components package.
enhancement
Issues tied to a new feature or request.
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
The
rating
andslider
components do not support form validation, as indicated in #8057.Expected Behavior
Form validation support. Since invalid styling is not effective on
slider
andrating
, thevalidationMessage
prop would serve as the only visual invalid affordance when a value is not added andrequired
is present.Reproduction Sample
https://codepen.io/geospatialem/pen/ZEdJaLr
Reproduction Steps
required
orvalidationMessage
properties/attributesReproduction Version
2.11.1
Relevant Info
Follow-up to #8057 and #8000
Link to Figma specs: https://www.figma.com/design/5QDPzXr21qQcPTkXR1Ouga/Form-Validation-%5BEpic-4598%5D?node-id=956-94284&m=dev&focus-id=1194-2726
Regression?
No response
Priority impact
impact - p3 - not time sensitive
Impact
Medium-High for consistency across the design system with regards to error handling
Calcite package
Esri team
Calcite (design)
The text was updated successfully, but these errors were encountered: