Skip to content

Commit

Permalink
fix(module:transfer): submit behavior for button inside form (#7413)
Browse files Browse the repository at this point in the history
Fixes #7410.
  • Loading branch information
volvachev committed May 26, 2022
1 parent 03c6153 commit 0cfebca
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 0cfebca

Please sign in to comment.