Beautiful Open-Source Form Builder
fix custom domain clear (#488)
Chirag Chhatrala4cf2ef17180c
diff --git a/client/components/open/forms/components/form-components/FormCustomSeo.vue b/client/components/open/forms/components/form-components/FormCustomSeo.vueindex 5e71aaa78..238b78ba4 100644--- a/client/components/open/forms/components/form-components/FormCustomSeo.vue+++ b/client/components/open/forms/components/form-components/FormCustomSeo.vue@@ -27,6 +27,7 @@<select-inputv-if="customDomainAllowed"v-model="form.custom_domain"+ :clearable="true":disabled="customDomainOptions.length <= 0":options="customDomainOptions"name="type"@@ -111,6 +112,10 @@ export default {this.form.seo_meta[keyname] = null}})++ if (this.form.custom_domain && !this.workspace.custom_domains.find((item) => { return item === this.form.custom_domain })) {+ this.form.custom_domain = null+ }},methods: {},}