diff --git a/code/Forms/UploadField.php b/code/Forms/UploadField.php index 26a23e9ec..4e3a02962 100644 --- a/code/Forms/UploadField.php +++ b/code/Forms/UploadField.php @@ -198,7 +198,7 @@ public function getSchemaStateDefaults() { $state = parent::getSchemaStateDefaults(); $state['data']['files'] = $this->getEncodedItems(); - $state['value'] = $this->Value() ?: ['Files' => []]; + $state['value'] = $this->getFormattedValue() ?: ['Files' => []]; return $state; }