diff --git a/src/components/feature_type/FeatureTypeCustomForm.vue b/src/components/feature_type/FeatureTypeCustomForm.vue
index 1e3b18a85808c12c206ea126a1c189ce3b4791cb..63912cc006f4f52e7ea806e8314543a7c40f2119 100644
--- a/src/components/feature_type/FeatureTypeCustomForm.vue
+++ b/src/components/feature_type/FeatureTypeCustomForm.vue
@@ -230,6 +230,7 @@ export default {
       });
     },
     updateOptions() {
+      this.form.options.value[0] = this.form.options.value[0].replace(/\s*,\s*/ig, ',');
       this.updateStore();
       this.$store.commit("feature_type/UPDATE_COLOR_STYLE");
     },