diff --git a/src/lib/shared/flo-properties.ts b/src/lib/shared/flo-properties.ts index c2cafaf..603b86e 100644 --- a/src/lib/shared/flo-properties.ts +++ b/src/lib/shared/flo-properties.ts @@ -186,11 +186,11 @@ export namespace Properties { } get value(): string { - return this.property.value ? this.property.value.join(', ') : ''; + return this.property.value ? this.property.value.toString().trim().split(/\s*,\s*/).join(', ') : ''; } set value(value: string) { - this.property.value = value && value.trim() ? value.split(/\s*,\s*/) : undefined; + this.property.value = value && value.trim() ? value.split(/\s*,\s*/).join(',') : undefined; } }