Fixed FlexForm::getValue() call to return the correct data

This commit is contained in:
Matias Griese
2019-01-16 21:53:44 +02:00
parent 88625c6362
commit 02c979bdf6

View File

@@ -96,7 +96,7 @@ class FlexForm implements FlexFormInterface
$value = $this->data ? $this->data[$name] : null;
// Return the form data or fall back to the object property.
return $value ?? $this->getObject()->getNestedProperty($name);
return $value ?? $this->getObject()->value($name);
}
/**