- Issue created by @pdureau
- Issue was unassigned.
- Status changed to Fixed
6 months ago 4:08pm 8 June 2024 Automatically closed - issue fixed for 2 weeks with no activity.
Select widget source must be optional.
/src/Plugin/UiPatterns/Source/SelectWidget.php
@@ -37,6 +37,7 @@ class SelectWidget extends SourcePluginPropValue {
'#type' => 'select',
'#default_value' => $this->getSetting('value'),
"#options" => $options,
+ "#empty_option" => $this->t("- Select -"),
];
Fixed
2.0
Code
Automatically closed - issue fixed for 2 weeks with no activity.