Skip to content

Form blocks: Update block categories for form, form-input, form-submission-notification, and form-submit-button#61916

Merged
t-hamano merged 3 commits into
WordPress:trunkfrom
amitraj2203:fix/issue-60929
Apr 24, 2026
Merged

Form blocks: Update block categories for form, form-input, form-submission-notification, and form-submit-button#61916
t-hamano merged 3 commits into
WordPress:trunkfrom
amitraj2203:fix/issue-60929

Conversation

@amitraj2203
Copy link
Copy Markdown
Contributor

@amitraj2203 amitraj2203 commented May 23, 2024

What?

Fixes: #60929

Why?

The form blocks: form, form-input, form-submission-notification, and form-submit-button uses the category common which is not a valid category in block.json

How?

This PR updates the category for these blocks to design

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 23, 2024

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: amitraj2203 <amitraj2203@git.wordpress.org>
Co-authored-by: t-hamano <wildworks@git.wordpress.org>
Co-authored-by: Mamaduka <mamaduka@git.wordpress.org>
Co-authored-by: colorful-tones <colorful-tones@git.wordpress.org>
Co-authored-by: carolinan <poena@git.wordpress.org>

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

@amitraj2203 amitraj2203 changed the title Update block categories for form, form-input, form-submission-notification, and form-submit-button Form blocks: Update block categories for form, form-input, form-submission-notification, and form-submit-button May 23, 2024
@shail-mehta shail-mehta added [Type] Bug An existing feature does not function as intended [Block] Form (experimental) Affects the form block labels Jun 15, 2024
@t-hamano
Copy link
Copy Markdown
Contributor

Sorry for the late reply, @amitraj2203. Could you rebase this PR o top or the trunk branch to move this forward? Personally, I feel the "Widgets" category is appropriate because the Search block, which is also an interactive block, is categorized under widgets. What do you think? Let's also get some other opinions.

@Mamaduka
Copy link
Copy Markdown
Member

Using the "widgets" category seems like a good idea 👍

@github-actions github-actions Bot added the [Package] Block library /packages/block-library label Apr 24, 2026
@t-hamano
Copy link
Copy Markdown
Contributor

I've pushed an additional commit to change the category from design to widgets. Let's merge this PR to move #77612 forward.

@t-hamano t-hamano merged commit 0a8fb41 into WordPress:trunk Apr 24, 2026
38 checks passed
@github-actions github-actions Bot added this to the Gutenberg 23.1 milestone Apr 24, 2026
Copilot AI pushed a commit that referenced this pull request Apr 24, 2026
…ssion-notification, and form-submit-button (#61916)

* Update block categories for form, form-input, form-submission-notification, and form-submit-button

* Form blocks: move from Design to Widgets category

---------

Co-authored-by: amitraj2203 <amitraj2203@git.wordpress.org>
Co-authored-by: t-hamano <wildworks@git.wordpress.org>
Co-authored-by: Mamaduka <mamaduka@git.wordpress.org>
Co-authored-by: colorful-tones <colorful-tones@git.wordpress.org>
Co-authored-by: carolinan <poena@git.wordpress.org>
Co-authored-by: simison <87168+simison@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Block] Form (experimental) Affects the form block [Package] Block library /packages/block-library [Type] Bug An existing feature does not function as intended

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Form blocks: "Common" is not a valid block category

4 participants