Skip to content

Commit

Permalink
Forms: Handle Enter on empty radio/checkbox input (#41082)
Browse files Browse the repository at this point in the history
* Forms: Handle `Enter` on empty radio/checkbox input

* use `event.key`

Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/12824401120

Upstream-Ref: Automattic/jetpack@29622fb
  • Loading branch information
ntsekouras authored and matticbot committed Jan 17, 2025
1 parent 92fe054 commit ec335bb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ This is an alpha version! The changes listed here are not final.

### Added
- Forms: allow HTML block within forms
- Forms: Handle `Enter` on empty radio/checkbox input

### Changed
- Forms: rename "URL" field to "Website"
Expand Down
2 changes: 1 addition & 1 deletion dist/blocks/editor.asset.php
Original file line number Diff line number Diff line change
@@ -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-data', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => '59e251dadf11c3eeb4e9');
<?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-data', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => '225ab109b168dbe54a71');
8 changes: 4 additions & 4 deletions dist/blocks/editor.js

Large diffs are not rendered by default.

0 comments on commit ec335bb

Please sign in to comment.