Fix the repeater on every context, not just static page fields

This commit is contained in:
Luke Towers 2019-04-05 09:00:26 -06:00
parent b4b4b1b566
commit bfe03803e6
1 changed files with 1 additions and 1 deletions

View File

@ -198,7 +198,7 @@ class Repeater extends FormWidgetBase
protected function processItems()
{
$indexes = $groups = [];
$currentValue = post($this->formField->fieldName, $this->getLoadValue());
$currentValue = post($this->formField->getName(), $this->getLoadValue());
// Ensure that the minimum number of items are preinitialized
// ONLY DONE WHEN NOT IN GROUP MODE