Skip to content

Conversation

@oandregal
Copy link
Member

Follow-up to #71797

What?

Updates validation story to cover number field type as well.

Why?

So the story reflects any kind of field type.

How?

Add a new number data, field, and validation.

Testing Instructions

  • Run storybook locally (npm install && npm run storybook:dev).
  • Go to the "DataViews > DataForm > Validation" story.
  • Verify that the number field works as expected for required validation and for custom as well (see sidebar controls).

@oandregal oandregal self-assigned this Sep 30, 2025
@github-actions
Copy link

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: oandregal <oandregal@git.wordpress.org>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

@oandregal oandregal added [Type] Developer Documentation Documentation for developers [Feature] DataViews Work surrounding upgrading and evolving views in the site editor and beyond labels Sep 30, 2025
@oandregal oandregal merged commit 5c32321 into trunk Sep 30, 2025
74 checks passed
@oandregal oandregal deleted the update/validation-story-number branch September 30, 2025 16:41
@github-actions github-actions bot added this to the Gutenberg 21.8 milestone Sep 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Feature] DataViews Work surrounding upgrading and evolving views in the site editor and beyond [Type] Developer Documentation Documentation for developers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants