Skip to content

Commit

Permalink
fixed repeater control rendering by adding required group parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
Fellan-91 committed Nov 18, 2024
1 parent 744bf38 commit e39c9c1
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build/control-repeater.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array('lodash', 'react', 'react-dom', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-hooks', 'wp-i18n'), 'version' => 'e3912133ff2892e30212');
<?php return array('dependencies' => array('lodash', 'react', 'react-dom', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-hooks', 'wp-i18n'), 'version' => 'e7d20778505bf1c476d4');
2 changes: 1 addition & 1 deletion build/control-repeater.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/editor.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array('lodash', 'react', 'react-dom', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-element', 'wp-hooks', 'wp-i18n'), 'version' => 'c748fc0fe9b6034cc671');
<?php return array('dependencies' => array('lodash', 'react', 'react-dom', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-element', 'wp-hooks', 'wp-i18n'), 'version' => '85c38b9fdbb50e1b08b4');
1 change: 1 addition & 0 deletions controls/repeater/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ function RepeaterControlWrapper(props) {
<>
{props.renderControls(
props.placement,
props.group,
props.uniqueId,
index
)}
Expand Down

0 comments on commit e39c9c1

Please sign in to comment.