[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:
Jordan Aasen 2024-09-30 04:56:32 -07:00 committed by GitHub
parent 0cd2b4aae5
commit 2f8ab087ff
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 9 additions and 0 deletions

View File

@ -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">