We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1bc6ee5 commit 8f84ec4Copy full SHA for 8f84ec4
src/Type/Enum/SelectableOptionEnumType.php
@@ -18,7 +18,7 @@ public function getValues()
18
$options = [];
19
foreach ($this->field->type->getOptions($this->field) as $option) {
20
$options[] = [
21
- 'value' => $option->value || $option->title,
+ 'value' => $option->value ? $option->value : $option->title,
22
'name' => $option->title,
23
];
24
}
0 commit comments