Skip to content

Commit 514b345

Browse files
committed
default base field preview option value be layoutElement:UID
1 parent 7ff5f7b commit 514b345

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fieldlayoutelements/BaseField.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ public function getPreviewOptions(): ?array
206206
return [
207207
[
208208
'label' => $this->selectorLabel() ?? $this->attribute(),
209-
'value' => $this->attribute(),
209+
'value' => 'layoutElement:{uid}',
210210
],
211211
];
212212
}

0 commit comments

Comments
 (0)