diff --git a/src/Form/Control/TreeItemSelector.php b/src/Form/Control/TreeItemSelector.php index 93f6285e1d..b360997246 100644 --- a/src/Form/Control/TreeItemSelector.php +++ b/src/Form/Control/TreeItemSelector.php @@ -131,6 +131,10 @@ public function getInput() */ public function getValue() { + if (is_scalar($this->entityField->get())) { + return $this->entityField->get(); + } + return $this->getApp()->uiPersistence->typecastSaveField($this->entityField->getField(), $this->entityField->get()); }