Skip to content

Commit b4940df

Browse files
committed
prevent automatic submit on visibility toggle
1 parent 5769339 commit b4940df

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/module/component/mat-pass-toggle-visibility/mat-pass-toggle-visibility.component.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<button (click)="isVisible = !isVisible"
2+
type="button"
23
class="mat-icon-button cdk-focused cdk-mouse-focused" mat-icon-button
34
matRippleCentered="true"
45
matRipple>

0 commit comments

Comments
 (0)