At some point the `af-values` attribute got renamed `data` but the Submit api wasn't updated.
foreach ($this->values[$entityName] ?? [] as $values) {
$entityValues[$entity['type']][$entityName][] = $values + ['fields' => []];
// Predetermined values override submitted values
- if (!empty($entity['af-values'])) {
+ if (!empty($entity['data'])) {
foreach ($entityValues[$entity['type']][$entityName] as $index => $vals) {
- $entityValues[$entity['type']][$entityName][$index]['fields'] = $entity['af-values'] + $vals['fields'];
+ $entityValues[$entity['type']][$entityName][$index]['fields'] = $entity['data'] + $vals['fields'];
}
}
}