Skip to content

Commit b614d5e

Browse files
committed
API Rename FormField Value to getFormattedValue
1 parent f4b1c8d commit b614d5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

code/Forms/UploadField.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ public function getSchemaStateDefaults()
198198
{
199199
$state = parent::getSchemaStateDefaults();
200200
$state['data']['files'] = $this->getEncodedItems();
201-
$state['value'] = $this->Value() ?: ['Files' => []];
201+
$state['value'] = $this->getFormattedValue() ?: ['Files' => []];
202202
return $state;
203203
}
204204

0 commit comments

Comments
 (0)