diff --git a/src/components/FeatureType/FeatureTypeCustomForm.vue b/src/components/FeatureType/FeatureTypeCustomForm.vue index d064ee6ca7a27c946f98d3543e65621a946da83b..e71b17585637336eace2b1f6e7fe029e79f4afcc 100644 --- a/src/components/FeatureType/FeatureTypeCustomForm.vue +++ b/src/components/FeatureType/FeatureTypeCustomForm.vue @@ -312,7 +312,7 @@ export default { fillCustomFormData(customFormData) { for (const el in customFormData) { - if (el && this.form[el] && customFormData[el]) { + if (el && this.form[el] && customFormData[el] !== undefined && customFormData[el] !== null) { //* check if is an object, because data from api is a string, while import from django is an object this.form[el].value = customFormData[el].value ? customFormData[el].value