Closed louwie17 closed 2 days ago
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: louwie17 <louwie17@git.wordpress.org>
Co-authored-by: jameskoster <jameskoster@git.wordpress.org>
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.
What?
This adds a password field to the
@wordpress/fields
package for use within the DataForm component. In particular the page quick edit. Related issue https://github.com/WordPress/gutenberg/issues/64519.Why?
The password field was missing from the page quick edit.
How?
A new password field is added to the
@wordpress/fields
component, which can be imported by usingpasswordField
. The field it-self is mimicked from the current implementation in the site editor sidebar: https://github.com/WordPress/gutenberg/blob/2943dd3adfa4e1ad33b980760277377df9ac0f91/packages/editor/src/components/post-status/index.js#L222-L263 Class names have just been updated.The password field is displayed within the status dropdown as part of the combined fields API.
Testing Instructions
Testing Instructions for Keyboard
Screenshots or screencast