UI: Added ignoring focus when switching between input fields on the TAB in component tb-toggle-password

This commit is contained in:
Vladyslav_Prykhodko 2021-10-08 10:59:36 +03:00
parent 68fc5b996b
commit 3a8fda1d8b

View File

@ -15,6 +15,6 @@
limitations under the License.
-->
<button mat-icon-button type="button" (click)="togglePassword($event)" [attr.aria-pressed]="showPassword" *ngIf="!hideToggle">
<button mat-icon-button type="button" tabindex="-1" (click)="togglePassword($event)" [attr.aria-pressed]="showPassword" *ngIf="!hideToggle">
<mat-icon>{{ showPassword ? 'visibility' : 'visibility_off' }}</mat-icon>
</button>