-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(rating, slider): add validation message to support form error handling #10621
feat(rating, slider): add validation message to support form error handling #10621
Conversation
@ashetland @SkyeSeitz Can you please take a look at the chromatic build? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good! It looks like some code marked as "do not edit" was edited, can you take another look at that part?
@@ -1,7 +1,13 @@ | |||
// @ts-check | |||
|
|||
// ⚠️ AUTO-GENERATED CODE - DO NOT EDIT | |||
const customFunctions = []; | |||
const customFunctions = [ | |||
"get-trailing-text-input-padding", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This code is auto-generated by this script and shouldn't be edited directly. IIRC @jcfranco set it up if you need more info.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Edit: Woops, double approved because it said the first one didn't go through lol. The code changes besides stylelintrc LGTM
…d-and-validationmessage-for-error-handling
@ashetland I pulled |
That fixed it. Just the one remaining conversation to resolve. |
…ciado88/9999-add-form-support-via-required-and-validationmessage-for-error-handling
…dationmessage-for-error-handling' of github.com:Esri/calcite-design-system into aPreciado88/9999-add-form-support-via-required-and-validationmessage-for-error-handling
@ashetland I updated the error message's top padding within the slider component. Can you please take a look? |
…d-and-validationmessage-for-error-handling
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Requesting changes until the padding discrepancies are resolved so this doesn't get accidentally merged (I've been there)
Visuals lookin' good! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Related Issue: #9999
Summary
Add
validationMessage
,validationIcon
andstatus
props torating
andslider
components to support form validation.