ImportRowModifierForm: fix multiOptions
This commit is contained in:
parent
7fa2d91d37
commit
8ab088fe18
|
@ -31,7 +31,9 @@ class ImportRowModifierForm extends DirectorObjectForm
|
||||||
));
|
));
|
||||||
try {
|
try {
|
||||||
$sourceColumns = $this->enumSourceColumns();
|
$sourceColumns = $this->enumSourceColumns();
|
||||||
$this->getElement('property_name')->multiOptions = $this->optionalEnum($sourceColumns);
|
$this->getElement('property_name')->setOptions([
|
||||||
|
'multiOptions' => $this->optionalEnum($sourceColumns)
|
||||||
|
]);
|
||||||
} catch (Exception $e) {
|
} catch (Exception $e) {
|
||||||
$this->getElement('property_name')->addError($e->getMessage());
|
$this->getElement('property_name')->addError($e->getMessage());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue