chore(core): update invalid fields styles#12002
Draft
pedrobonamin wants to merge 1 commit intogh-11263-display-validations-messagefrom
Draft
chore(core): update invalid fields styles#12002pedrobonamin wants to merge 1 commit intogh-11263-display-validations-messagefrom
pedrobonamin wants to merge 1 commit intogh-11263-display-validations-messagefrom
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
3 Skipped Deployments
|
Contributor
🧪 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 |
Contributor
📊 Playwright Test ReportThis report contains test results, including videos of failing tests. |
Contributor
⚡️ 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
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.