-
Notifications
You must be signed in to change notification settings - Fork 846
Form Block: Add styling for input fields #27837
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
|
Are you an Automattician? You can now test your Pull Request on WordPress.com. On your sandbox, run to get started. More details: p9dueE-5Nn-p2 |
|
Thank you for your PR! When contributing to Jetpack, we have a few suggestions that can help us test and review your patch:
This comment will be updated as you work on your PR and make changes. If you think that some of those checks are not needed for your PR, please explain why you think so. Thanks for cooperation 🤖 The e2e test report can be found here. Please note that it can take a few minutes after the e2e tests checks are complete for the report to be available. Once your PR is ready for review, check one last time that all required checks (other than "Required review") appearing at the bottom of this PR are passing or skipped. Jetpack plugin:
|
This also renames textColor to inputColor to be more precise.
All input field labels will be styled now.
|
Design ideas for the sidebar by @digitalwaveride: |
* Move color settings * Add blockBackgroundColor * Rename backgroundColor to fieldBackgroundColor
Replaced a single background color with separate field and block colors Started styling multiple checkbox input and radio input Removed code added to escape supports.
digitalwaveride
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was an adventure!
😻😻😻
So cool to see this first version ready! First big step!
Thanks so much Donncha, Kuba and João!!! 🚀
jeherve
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me. It will really bring the forms to a new level.
We'll need to remember to come back to this in future WordPress releases, once those unstable features become more stable.
|
Not sure if related to recent changes, but dropping a note for visibility just in case, since I see related files may have been moved/touched: |

This adds various style settings to the sidebar of the contact form input fields.
Styles such as:
The attributes defined in the sidebar are copied to the PHP shortcode that creates the input fields when the form is displayed.
It's still very much a work in progress.
Fixes #27525
Changes proposed in this Pull Request:
Other information:
Jetpack product discussion
pcsBup-py-p2#comment-126
Does this pull request change what data or activity we track or use?
No
Testing instructions: