- Added formContextValuesRoot to form context
This commit is contained in:
parent
2e3788a295
commit
7e2d4c7dc2
@ -15,6 +15,8 @@ class FormContext implements FormContextInterface
|
||||
|
||||
public mixed $formExecutionStatus = null;
|
||||
|
||||
protected string $formContextValuesRoot;
|
||||
|
||||
public array $formContextValues = [];
|
||||
|
||||
public array $formContextFiles = [];
|
||||
@ -43,6 +45,10 @@ class FormContext implements FormContextInterface
|
||||
}
|
||||
}
|
||||
|
||||
if ($this->formContextValuesRoot ?? false) {
|
||||
$this->formContextValues = $this->formContextValues[$this->formContextValuesRoot] ?? [];
|
||||
}
|
||||
|
||||
$this->fillValues();
|
||||
|
||||
$this->formContextFiles = $formContextRequest->getUploadedFiles() ?: [];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user