Browse Source
Merge pull request #11709 from abpframework/feature/button-form-name
form name attribute was added 'abp-button'
pull/11762/head
Bunyamin Coskuner
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
4 additions and
0 deletions
-
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; |
|
|
|
|