-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Introduce experimental form & inputs blocks to allow building basic forms #44214
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
Conversation
Size Change: +22.4 kB (+1%) Total Size: 1.65 MB
ℹ️ View Unchanged
|
5d66ed0
to
13279f8
Compare
69a9987
to
7a2325c
Compare
0cbb1bf
to
c2dcd04
Compare
bbeb087
to
9aa3e3f
Compare
d6187d2
to
12936f3
Compare
Just a quick update on the current status of the forms/fields blocks:
cc @draganescu There are a few UX issues that need to be tweaked (for example selecting the form parent vs the input fields), but it is now in a working state, marked as an experiment. As an MVP I believe this can serve us well, and allow us to tweak it and improve the implementation while it's an experiment. Screen.Recording.2022-10-18.at.10.14.59.AM.mov |
Sorry for the misunderstanding. @spencerfinnell |
Thanks for your feedback here @spencerfinnell -- let's see what we can do to iterate. Would love your feedback here: #55174 |
I've just tested this, and hitting submit doesn't seem to do anything? I've added an email in the form settings panel. |
@jamiemarsland Thank you for testing this! |
Adding to the comments about giving feedback: I wanted to go back to this block, read more about it and test it. Unfortunately there is no label for this experiment/block yet and searching the 5k+ issues for "forms" is pretty overwhelming and it took me a little while to find this PR😅 |
Done 👍 |
I am just about to create a video showing my experience of this new form block. |
I will pretend that this is the discussion thread as there are likely things here that are nice to discuss somewhere and add in my initial video test of the Form block. I got to say I really like what I see. I see this as a very good beginning of a helpful core Form block! |
Thank you for testing this @paaljoachim! The button was not working but that is already fixed in PRs #55690 and #55691 (both pending a review, so this will be fixed on trunk once these get merged). Now, regarding some other things you brought up:
|
Isn't that what the |
Exploring the form. I am using the default included form. From the visual it looks like the font in the comment field is different compared to name and email fields. Clicking Submit nothing happens. I thought that was fixed and added to the Gutenberg plugin.... I am leaving it up on this page. Just another web site....not used for much at all. Kinda like a dev site. |
I updated to Gutenberg plugin 17.2. EDIT: |
@youknowriad These blocks are experimental and as @aristath said
Do you know whether the packages sync process will omit the experimental blocks from |
✅ I updated the PHP Sync Tracking Issue for WP 6.5 to note this PR does not require a backport for WP 6.5. |
What?
Introduces new
core/form
andcore/form-input
blocks to allow building forms in the editor.More background on #44186 (please read that ticket for background on the concept)
Screenshots or screencast
I updated the screencast with the latest implementation (Dec.7 2022). The original screencast from the POC is no longer relevant, but can still be found here)
forms-demo.mov
NOTE: These blocks are experimental. Please go from your dashboard to Gutenberg > Experiments, and enable the "Form and input blocks" experiment. Once you do, the blocks will be available.