Skip to content

Commit

Permalink
peakpassword button should not trigger on enter
Browse files Browse the repository at this point in the history
  • Loading branch information
wouter-willems committed Sep 26, 2024
1 parent e62ceed commit 27656be
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion projects/klippa/ngx-enhancy-forms/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@klippa/ngx-enhancy-forms",
"version": "18.23.5",
"version": "18.23.6",
"publishConfig": {
"access": "public"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
<div class="tail">
<ng-container [ngTemplateOutlet]="getTailTpl()"></ng-container>
<div class="clearIcon" *ngIf="clearable && innerValue?.length > 0" (click)="resetToNull()">×</div>
<button class="peakBtn" (click)="togglePeakPassword()" *ngIf="passwordPeekIcon && type === 'password'">
<div class="peakBtn" (click)="togglePeakPassword()" *ngIf="passwordPeekIcon && type === 'password'">
<ng-container [ngTemplateOutlet]="passwordPeekIcon"></ng-container>
</button>
</div>
</div>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ input {
background: transparent;
height: 100%;
padding: 0;
display: flex;
align-items: center;
cursor: pointer;
}

.showErrors {
Expand Down

0 comments on commit 27656be

Please sign in to comment.