Fix for missing _group field when saving data from a nested group repeater (#3523)
Fixes #3067. Credit to @Narkoleptika. Thanks to @petehalverson for his docker container work for replicating.
This commit is contained in:
parent
3ef571da3c
commit
541f0a78f1
|
|
@ -40,6 +40,9 @@
|
|||
<?php foreach ($widget->getFields() as $field): ?>
|
||||
<?= $widget->renderField($field) ?>
|
||||
<?php endforeach ?>
|
||||
<?php if ($useGroups): ?>
|
||||
<input type="hidden" name="<?= $widget->arrayName ?>[_group]" value="<?= $groupCode ?>" />
|
||||
<?php endif ?>
|
||||
</div>
|
||||
|
||||
<input type="hidden" name="<?= $indexInputName ?>[]" value="<?= $indexValue ?>" />
|
||||
|
|
|
|||
Loading…
Reference in New Issue