diff --git a/projects/klippa/ngx-enhancy-forms/package.json b/projects/klippa/ngx-enhancy-forms/package.json index 8c22b4d..5327376 100644 --- a/projects/klippa/ngx-enhancy-forms/package.json +++ b/projects/klippa/ngx-enhancy-forms/package.json @@ -1,6 +1,6 @@ { "name": "@klippa/ngx-enhancy-forms", - "version": "14.13.0", + "version": "14.14.0", "publishConfig": { "access": "public" }, diff --git a/projects/klippa/ngx-enhancy-forms/src/lib/form/form-submit-button/form-submit-button.component.html b/projects/klippa/ngx-enhancy-forms/src/lib/form/form-submit-button/form-submit-button.component.html index 3fa601b..31fe17a 100644 --- a/projects/klippa/ngx-enhancy-forms/src/lib/form/form-submit-button/form-submit-button.component.html +++ b/projects/klippa/ngx-enhancy-forms/src/lib/form/form-submit-button/form-submit-button.component.html @@ -1,7 +1,7 @@ Promise; @Input() public before: () => Promise = () => Promise.resolve(); @Input() public after: () => Promise = () => Promise.resolve(); + @Input() public disabled: boolean = false; private setValidationError = (e: FormValidationError) => { this.parentForm.formGroup.get(e.path)?.setErrors({ message: { value: e.message }});