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 d915f1d commit 0595813Copy full SHA for 0595813
addons/html_builder/static/src/website_builder/plugins/form/form_option_plugin.js
@@ -221,7 +221,7 @@ export class FormOptionPlugin extends Plugin {
221
// We use it if there is no value on the email_to input.
222
const formId = el.id;
223
const dataForValues = getParsedDataFor(formId, el.ownerDocument);
224
- return dataForValues["email_to"] || this.defaultEmailToValue
+ return dataForValues?.["email_to"] || this.defaultEmailToValue;
225
}
226
if (value) {
227
return value;
0 commit comments