From 1a66282eb646f4103ce1635506fe38e821a5d40e Mon Sep 17 00:00:00 2001 From: ZeevKatz Date: Sun, 25 Oct 2020 10:55:25 +0200 Subject: [PATCH] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20add=20default=20value=20?= =?UTF-8?q?for=20rewriteValueOnChange?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/lib/directive/control-value-transformer.directive.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/ngze/control-value-transformer/src/lib/directive/control-value-transformer.directive.ts b/projects/ngze/control-value-transformer/src/lib/directive/control-value-transformer.directive.ts index e8fc779..f253c76 100644 --- a/projects/ngze/control-value-transformer/src/lib/directive/control-value-transformer.directive.ts +++ b/projects/ngze/control-value-transformer/src/lib/directive/control-value-transformer.directive.ts @@ -23,7 +23,7 @@ export class ControlValueTransformerDirective implements OnChanges { * Indicates if the value should be re-written after each `onChange` call. */ @Input() - readonly rewriteValueOnChange: boolean; + readonly rewriteValueOnChange = true; /** * Control value transformer that resolved by {@link controlValueTransformerName}.