-
Notifications
You must be signed in to change notification settings - Fork 512
chore(core): update invalid fields styles #12002
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
base: gh-11263-display-validations-message
Are you sure you want to change the base?
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
3 Skipped Deployments
|
🧪 E2E Preview environment🔑 Environment Variables for Local TestingThis is the preview URL for the E2E tests: https://e2e-studio-ckvvh000w.sanity.dev To run the E2E tests locally, you can use the following environment variables, then run 💬 Remember to build the project first with |
📊 Playwright Test ReportThis report contains test results, including videos of failing tests. |
⚡️ Editor Performance ReportUpdated Thu, 29 Jan 2026 08:29:07 GMT
Detailed information🏠 Reference resultThe performance result of
🧪 Experiment resultThe performance result of this branch
📚 Glossary
|
Description
Adds visual error styling (critical tone) to form inputs when they have validation errors. Inputs now display a red border/background when invalid.
Closes #11915
Updated inputs:
BooleanInput- Card gets critical tone on errorSelectInput- Card/Radio gets critical tone on errorDateInput/DateTimeInput- PassesvalidationErrorto show native input validationReferenceInput- PassescustomValidityfor native input validationListArrayInput/GridArrayInput/ArrayOfPrimitivesInput- Container card gets critical tone on errorWhat to review
Testing
Manual testing with the test studio , through the validation document https://test-studio-git-gh-11915.sanity.dev/test/structure/input-debug;validationTest;86ca4c51-e3e1-4f7b-a78c-159096105523
Notes for release
Inputs now consistently display critical tones when they have validation errors.