Skip to content

Commit

Permalink
fix(module:transfer): submit behavior for button inside form
Browse files Browse the repository at this point in the history
  • Loading branch information
volvachev authored and Egor Volvachev committed May 5, 2022
1 parent f09ba57 commit 7f68529
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions components/transfer/transfer.component.ts
Expand Up @@ -69,6 +69,7 @@ import { NzTransferListComponent } from './transfer-list.component';
<div *ngIf="dir !== 'rtl'" class="ant-transfer-operation">
<button
nz-button
type="button"
(click)="moveToLeft()"
[disabled]="nzDisabled || !leftActive"
[nzType]="'primary'"
Expand All @@ -79,6 +80,7 @@ import { NzTransferListComponent } from './transfer-list.component';
</button>
<button
nz-button
type="button"
(click)="moveToRight()"
[disabled]="nzDisabled || !rightActive"
[nzType]="'primary'"
Expand All @@ -91,6 +93,7 @@ import { NzTransferListComponent } from './transfer-list.component';
<div *ngIf="dir === 'rtl'" class="ant-transfer-operation">
<button
nz-button
type="button"
(click)="moveToRight()"
[disabled]="nzDisabled || !rightActive"
[nzType]="'primary'"
Expand All @@ -101,6 +104,7 @@ import { NzTransferListComponent } from './transfer-list.component';
</button>
<button
nz-button
type="button"
(click)="moveToLeft()"
[disabled]="nzDisabled || !leftActive"
[nzType]="'primary'"
Expand Down

0 comments on commit 7f68529

Please sign in to comment.