[PM-9646] Identity v2 Edit Defects (#10076)
* add necessary module to identity. update toggle btn with testing attr
This commit is contained in:
parent
66f432d6e0
commit
d7fa592521
|
@ -53,14 +53,26 @@
|
||||||
{{ "ssn" | i18n }}
|
{{ "ssn" | i18n }}
|
||||||
</bit-label>
|
</bit-label>
|
||||||
<input formControlName="ssn" bitInput type="password" />
|
<input formControlName="ssn" bitInput type="password" />
|
||||||
<button type="button" bitIconButton bitPasswordInputToggle></button>
|
<button
|
||||||
|
type="button"
|
||||||
|
bitIconButton
|
||||||
|
bitSuffix
|
||||||
|
bitPasswordInputToggle
|
||||||
|
data-testid="visibility-for-ssn"
|
||||||
|
></button>
|
||||||
</bit-form-field>
|
</bit-form-field>
|
||||||
<bit-form-field>
|
<bit-form-field>
|
||||||
<bit-label>
|
<bit-label>
|
||||||
{{ "passportNumber" | i18n }}
|
{{ "passportNumber" | i18n }}
|
||||||
</bit-label>
|
</bit-label>
|
||||||
<input formControlName="passportNumber" bitInput type="password" />
|
<input formControlName="passportNumber" bitInput type="password" />
|
||||||
<button type="button" bitIconButton bitPasswordInputToggle></button>
|
<button
|
||||||
|
type="button"
|
||||||
|
bitIconButton
|
||||||
|
bitSuffix
|
||||||
|
bitPasswordInputToggle
|
||||||
|
data-testid="visibility-for-passport-number"
|
||||||
|
></button>
|
||||||
</bit-form-field>
|
</bit-form-field>
|
||||||
<bit-form-field>
|
<bit-form-field>
|
||||||
<bit-label>
|
<bit-label>
|
||||||
|
|
|
@ -15,6 +15,7 @@ import {
|
||||||
FormFieldModule,
|
FormFieldModule,
|
||||||
IconButtonModule,
|
IconButtonModule,
|
||||||
SelectModule,
|
SelectModule,
|
||||||
|
TypographyModule,
|
||||||
} from "@bitwarden/components";
|
} from "@bitwarden/components";
|
||||||
|
|
||||||
import { CipherFormContainer } from "../../cipher-form-container";
|
import { CipherFormContainer } from "../../cipher-form-container";
|
||||||
|
@ -34,6 +35,7 @@ import { CipherFormContainer } from "../../cipher-form-container";
|
||||||
FormFieldModule,
|
FormFieldModule,
|
||||||
IconButtonModule,
|
IconButtonModule,
|
||||||
SelectModule,
|
SelectModule,
|
||||||
|
TypographyModule,
|
||||||
],
|
],
|
||||||
})
|
})
|
||||||
export class IdentitySectionComponent implements OnInit {
|
export class IdentitySectionComponent implements OnInit {
|
||||||
|
|
Loading…
Reference in New Issue