Skip to content
Snippets Groups Projects
Commit 36381b68 authored by John Pitcairn's avatar John Pitcairn Committed by Jonathan Sacksick
Browse files

Issue #3254971 by mrweiner, finne, John Pitcairn: PluginSelectWidget not allowing '- None- '.

parent 52e4a5d2
No related branches found
No related tags found
7 merge requests!418Issue #3511232 by ccjjmartin: Fix add to cart dropdown when only one non-default variation type is provided,!379Issue #3491248 Validation is breaking the amount number format decimal point,!375Issue #3413020 by czigor: Using a translatable string as a category for field...,!357Issue #2914933: Add service tags to order-related interfaces,!344Resolve #3107602 "Product attributes do not update visually when switching variations",!343Resolve #3107602 "Product attributes do not update visually when switching variations",!342Issue #3476581 by josephr5000: add OrderItemLabelEvent
......@@ -132,7 +132,7 @@ class PluginSelectWidget extends WidgetBase implements ContainerFactoryPluginInt
];
// Only build the configuration form once a plugin ID has been selected.
if ($target_plugin_id !== NULL) {
if (!empty($target_plugin_id)) {
$inline_form = $this->inlineFormManager->createInstance('plugin_configuration', [
'plugin_type' => $plugin_type,
'plugin_id' => $target_plugin_id,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment