From a2762b49f231ab793ef8d36a6d12c1ad5bca8e10 Mon Sep 17 00:00:00 2001 From: BoykoAlex Date: Tue, 7 Jul 2020 16:12:20 -0400 Subject: [PATCH] Unset property value if default is used --- src/lib/shared/flo-properties.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/shared/flo-properties.ts b/src/lib/shared/flo-properties.ts index 1a1f7c8..ef1da3a 100644 --- a/src/lib/shared/flo-properties.ts +++ b/src/lib/shared/flo-properties.ts @@ -273,7 +273,8 @@ export namespace Properties { let currentValue = this.cell.attr(property.attr); if (currentValue !== undefined && currentValue !== null) { // Remove attr doesn't fire appropriate event. Set default value first as a workaround to schedule DSL resync - this.cell.attr(property.attr, property.defaultValue === undefined ? null : property.defaultValue); + // this.cell.attr(property.attr, property.defaultValue === undefined ? null : property.defaultValue); + this.cell.attr(property.attr, null); this.cell.removeAttr(property.attr); } } else {