-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Open
Labels
[Feature] DataViewsWork surrounding upgrading and evolving views in the site editor and beyondWork surrounding upgrading and evolving views in the site editor and beyond[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Description
Description
When using a DataForm with the card layout and required field validation, blurring from any field (via mouse click or tab) triggers validation and auto-focuses the first required field that has an error. This hijacks the user's natural tab order (or whichever input they clicked), making navigation unpredictable.
Step-by-step reproduction instructions
- Clear the value of the Text field (so it becomes empty/invalid) by updating the story.
- Open local storybook (
npm run storybook:dev). - Go to the DataForm validation story.
- Switch to the card layout.
- Click into the second field (e.g., Textarea) with the mouse.
- Press Tab to move to the next field.
Screenshots, screen recording, code snippet
Screen.Recording.2026-03-26.at.13.32.16.mov
Environment info
WordPress 6.9.4, Gutenberg nightly, macOS, Chrome
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
[Feature] DataViewsWork surrounding upgrading and evolving views in the site editor and beyondWork surrounding upgrading and evolving views in the site editor and beyond[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Type
Fields
Give feedbackNo fields configured for issues without a type.