Skip to content

Commit

Permalink
docs(module:input): password icon's class name not applied (#8768)
Browse files Browse the repository at this point in the history
  • Loading branch information
ParsaArvanehPA committed Sep 19, 2024
1 parent f37c53c commit 9e3bb3e
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions components/input/demo/password-input.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,12 @@ import { Component } from '@angular/core';
<ng-template #suffixTemplate>
<span
nz-icon
class="ant-input-password-icon"
[nzType]="passwordVisible ? 'eye-invisible' : 'eye'"
(click)="passwordVisible = !passwordVisible"
></span>
</ng-template>
`,
styles: [
`
i {
cursor: pointer;
}
`
]
`
})
export class NzDemoInputPasswordInputComponent {
passwordVisible = false;
Expand Down

0 comments on commit 9e3bb3e

Please sign in to comment.