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 14, 2025
1 parent ac7ff27 commit 02d8baa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Form/AbstractLinkField.php
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ public function getSchemaStateDefaults(): array
protected function getDefaultAttributes(): array
{
$attributes = parent::getDefaultAttributes();
$attributes['data-value'] = $this->Value();
$attributes['data-value'] = $this->getValue();
$attributes['data-can-create'] = $this->getOwner()->canEdit();
$attributes['data-readonly'] = $this->isReadonly();
$attributes['data-disabled'] = $this->isDisabled();
Expand Down
2 changes: 1 addition & 1 deletion src/Form/MultiLinkField.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ protected function getDefaultAttributes(): array
*/
private function getValueArray(): array
{
return $this->convertValueToArray($this->Value());
return $this->convertValueToArray($this->getValue());
}

/**
Expand Down

0 comments on commit 02d8baa

Please sign in to comment.