From eaf0744e8863a6707a1235a3952fce59330b01d0 Mon Sep 17 00:00:00 2001 From: Mahmut Gundogdu Date: Fri, 25 Feb 2022 13:33:39 +0300 Subject: [PATCH] form name attribute was added 'abp-button' --- .../src/lib/components/button/button.component.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/npm/ng-packs/packages/theme-shared/src/lib/components/button/button.component.ts b/npm/ng-packs/packages/theme-shared/src/lib/components/button/button.component.ts index 3d874bb7d0..77a00be6bc 100644 --- a/npm/ng-packs/packages/theme-shared/src/lib/components/button/button.component.ts +++ b/npm/ng-packs/packages/theme-shared/src/lib/components/button/button.component.ts @@ -18,6 +18,7 @@ import { #button [id]="buttonId" [attr.type]="buttonType" + [attr.form]="formName" [ngClass]="buttonClass" [disabled]="loading || disabled" (click.stop)="click.next($event); abpClick.next($event)" @@ -37,6 +38,9 @@ export class ButtonComponent implements OnInit { @Input() buttonType = 'button'; + + @Input() + formName?: string = undefined; @Input() iconClass?: string;