[PM-12721] - add copy button to send options password field (#11295)
* add copy button to send options form * update copy language * fix copy button value text
This commit is contained in:
parent
0cd2b4aae5
commit
2f8ab087ff
|
@ -30,6 +30,15 @@
|
|||
(click)="generatePassword()"
|
||||
data-testid="generate-password"
|
||||
></button>
|
||||
<button
|
||||
type="button"
|
||||
bitIconButton="bwi-clone"
|
||||
bitSuffix
|
||||
[appA11yTitle]="'copyPassword' | i18n"
|
||||
[valueLabel]="'password' | i18n"
|
||||
[appCopyClick]="sendOptionsForm.get('password').value"
|
||||
showToast
|
||||
></button>
|
||||
<bit-hint>{{ "sendPasswordDescV2" | i18n }}</bit-hint>
|
||||
</bit-form-field>
|
||||
<bit-form-control *ngIf="!disableHideEmail">
|
||||
|
|
Loading…
Reference in New Issue