Skip to content

Commit

Permalink
API Rename FormField Value to getFormattedValue
Browse files Browse the repository at this point in the history
  • Loading branch information
emteknetnz committed Jan 21, 2025
1 parent 116d386 commit b4168b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/Forms/UploadField.php
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ public function getSchemaStateDefaults()
{
$state = parent::getSchemaStateDefaults();
$state['data']['files'] = $this->getEncodedItems();
$state['value'] = $this->Value() ?: ['Files' => []];
$state['value'] = $this->getValue() ?: ['Files' => []];
return $state;
}

Expand Down

0 comments on commit b4168b6

Please sign in to comment.