From 77ad99422935de2e43d3f119a6073bb1c019fe50 Mon Sep 17 00:00:00 2001 From: Fynn Feldpausch Date: Wed, 6 Dec 2023 09:46:12 +0100 Subject: [PATCH] fix(angular-formly): add missing errorInit prop to formly bindings --- .../lib/formly/formly-datepicker/formly-datepicker.component.ts | 1 + .../src/lib/formly/formly-input/formly-input.component.ts | 1 + .../src/lib/formly/formly-select/formly-select.component.ts | 1 + .../src/lib/formly/formly-textarea/formly-textarea.component.ts | 1 + 4 files changed, 4 insertions(+) diff --git a/angular/projects/catalyst-formly/src/lib/formly/formly-datepicker/formly-datepicker.component.ts b/angular/projects/catalyst-formly/src/lib/formly/formly-datepicker/formly-datepicker.component.ts index f1c0a9e8..a277f9c0 100644 --- a/angular/projects/catalyst-formly/src/lib/formly/formly-datepicker/formly-datepicker.component.ts +++ b/angular/projects/catalyst-formly/src/lib/formly/formly-datepicker/formly-datepicker.component.ts @@ -28,6 +28,7 @@ import { FieldType, FieldTypeConfig } from '@ngx-formly/core'; [step]="props.step" [errors]="props.errors" [errorUpdate]="props.errorUpdate" + [errorInit]="props.errorInit" [nativeAttributes]="props.nativeAttributes" > diff --git a/angular/projects/catalyst-formly/src/lib/formly/formly-input/formly-input.component.ts b/angular/projects/catalyst-formly/src/lib/formly/formly-input/formly-input.component.ts index 56b10108..419eea24 100644 --- a/angular/projects/catalyst-formly/src/lib/formly/formly-input/formly-input.component.ts +++ b/angular/projects/catalyst-formly/src/lib/formly/formly-input/formly-input.component.ts @@ -29,6 +29,7 @@ import { FieldType, FieldTypeConfig } from '@ngx-formly/core'; [type]="props.type" [errors]="props.errors" [errorUpdate]="props.errorUpdate" + [errorInit]="props.errorInit" [hint]="props.hint" [nativeAttributes]="props.nativeAttributes" > diff --git a/angular/projects/catalyst-formly/src/lib/formly/formly-select/formly-select.component.ts b/angular/projects/catalyst-formly/src/lib/formly/formly-select/formly-select.component.ts index 7f509fec..1d069da7 100644 --- a/angular/projects/catalyst-formly/src/lib/formly/formly-select/formly-select.component.ts +++ b/angular/projects/catalyst-formly/src/lib/formly/formly-select/formly-select.component.ts @@ -24,6 +24,7 @@ import { FieldType, FieldTypeConfig } from '@ngx-formly/core'; [noItems]="props.noItems" [errors]="props.errors" [errorUpdate]="props.errorUpdate" + [errorInit]="props.errorInit" [nativeAttributes]="props.nativeAttributes" [connector]="props.connector" > diff --git a/angular/projects/catalyst-formly/src/lib/formly/formly-textarea/formly-textarea.component.ts b/angular/projects/catalyst-formly/src/lib/formly/formly-textarea/formly-textarea.component.ts index ba1a6f7e..25504a90 100644 --- a/angular/projects/catalyst-formly/src/lib/formly/formly-textarea/formly-textarea.component.ts +++ b/angular/projects/catalyst-formly/src/lib/formly/formly-textarea/formly-textarea.component.ts @@ -20,6 +20,7 @@ import { FieldType, FieldTypeConfig } from '@ngx-formly/core'; [readonly]="props.readonly" [errors]="props.errors" [errorUpdate]="props.errorUpdate" + [errorInit]="props.errorInit" [hint]="props.hint" [nativeAttributes]="props.nativeAttributes" >