mirror of
https://github.com/Cleanuparr/Cleanuparr.git
synced 2026-03-24 09:03:38 -04:00
Fix reveal button being pressed on Enter instead of login (#483)
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<label class="input-label">
|
||||
{{ label() }}
|
||||
@if (helpKey()) {
|
||||
<button class="field-help-btn" (click)="onHelpClick($event)" aria-label="Open documentation" tabindex="-1">
|
||||
<button type="button" class="field-help-btn" (click)="onHelpClick($event)" [attr.aria-label]="'Open documentation for ' + label()">
|
||||
<ng-icon name="tablerQuestionMark" size="14" />
|
||||
</button>
|
||||
}
|
||||
@@ -22,7 +22,7 @@
|
||||
(blur)="blurred.emit($event)"
|
||||
/>
|
||||
@if (type() === 'password') {
|
||||
<button class="input-eye-btn" (click)="toggleSecret($event)" tabindex="-1" aria-label="Toggle visibility">
|
||||
<button type="button" class="input-eye-btn" (click)="toggleSecret($event)" [attr.aria-label]="showSecret() ? 'Hide password' : 'Show password'">
|
||||
<ng-icon [name]="showSecret() ? 'tablerEyeOff' : 'tablerEye'" size="16" />
|
||||
</button>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user