Skip to content

Commit

Permalink
FIX missing ref
Browse files Browse the repository at this point in the history
  • Loading branch information
dizzystuff committed May 16, 2024
1 parent 0ed0423 commit 9f2f862
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Forms/EmbedField.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ function setEmbedType($type = false): self

public function getSourceURLField(): TextField
{
$sourceURL = $this->sourceURL ?? $this->object->SourceURL;
$sourceURLField = TextField::create($this->getName() . '[sourceurl]', '', $sourceURL);
$sourceURLField->setAttribute('data-update-url', $this->Link('update'));
$sourceURLField->setAttribute('placeholder', 'https://');
Expand Down

0 comments on commit 9f2f862

Please sign in to comment.