diff --git a/addons/web_editor/static/src/js/editor/snippets.options.js b/addons/web_editor/static/src/js/editor/snippets.options.js index 235cb0a8d17..71504e2a959 100644 --- a/addons/web_editor/static/src/js/editor/snippets.options.js +++ b/addons/web_editor/static/src/js/editor/snippets.options.js @@ -1738,14 +1738,14 @@ const SnippetOptionWidget = Widget.extend({ if (params.applyTo) { const $firstSubTarget = this.$(params.applyTo).eq(0); if (!$firstSubTarget.length) { - return; + continue; } obj = createPropertyProxy(this, '$target', $firstSubTarget); } const value = await this._computeWidgetState.call(obj, methodName, params); if (value === undefined) { - return; + continue; } const normalizedValue = this._normalizeWidgetValue(value); widget.setValue(normalizedValue, methodName);