Skip to content

Commit 4794b4f

Browse files
edanzermatticbot
authored andcommitted
Forms: use a placeholder attribute in the editor instead of value (#41712)
Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/13574652865 Upstream-Ref: Automattic/jetpack@9d31d55
1 parent 2d0ab22 commit 4794b4f

File tree

6 files changed

+8
-7
lines changed

6 files changed

+8
-7
lines changed

CHANGELOG.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,13 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8-
## [0.39.1-alpha] - unreleased
8+
## [0.40.0-alpha] - unreleased
99

1010
This is an alpha version! The changes listed here are not final.
1111

1212
### Changed
1313
- Contact Form: Updated editor styles for improved UI consistency and better alignment of form elements.
14+
- Forms: use placeholder attribute in editor instead of value
1415

1516
### Fixed
1617
- Forms: Ensure fields that skip rendering (like empty options fields) do not trigger validation or show value in form submission response.
@@ -869,7 +870,7 @@ This is an alpha version! The changes listed here are not final.
869870
- Added a new jetpack/forms package [#28409]
870871
- Added a public load_contact_form method for initializing the contact form module. [#28416]
871872

872-
[0.39.1-alpha]: https://github.com/automattic/jetpack-forms/compare/v0.39.0...v0.39.1-alpha
873+
[0.40.0-alpha]: https://github.com/automattic/jetpack-forms/compare/v0.39.0...v0.40.0-alpha
873874
[0.39.0]: https://github.com/automattic/jetpack-forms/compare/v0.38.0...v0.39.0
874875
[0.38.0]: https://github.com/automattic/jetpack-forms/compare/v0.37.1...v0.38.0
875876
[0.37.1]: https://github.com/automattic/jetpack-forms/compare/v0.37.0...v0.37.1

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
"link-template": "https://github.com/automattic/jetpack-forms/compare/v${old}...v${new}"
5858
},
5959
"branch-alias": {
60-
"dev-trunk": "0.39.x-dev"
60+
"dev-trunk": "0.40.x-dev"
6161
},
6262
"textdomain": "jetpack-forms",
6363
"version-constants": {

dist/blocks/editor.asset.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<?php return array('dependencies' => array('jetpack-connection', 'lodash', 'react', 'react-jsx-runtime', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-editor', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => '09f7e369f76228c90e7b');
1+
<?php return array('dependencies' => array('jetpack-connection', 'lodash', 'react', 'react-jsx-runtime', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-editor', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => '25c0ad459533644d280a');

dist/blocks/editor.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"private": true,
33
"name": "@automattic/jetpack-forms",
4-
"version": "0.39.1-alpha",
4+
"version": "0.40.0-alpha",
55
"description": "Jetpack Forms",
66
"homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/packages/forms/#readme",
77
"bugs": {

src/class-jetpack-forms.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
*/
1616
class Jetpack_Forms {
1717

18-
const PACKAGE_VERSION = '0.39.1-alpha';
18+
const PACKAGE_VERSION = '0.40.0-alpha';
1919

2020
/**
2121
* Load the contact form module.

0 commit comments

Comments
 (0)