1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-25 12:15:18 +01:00

[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

View File

@ -30,6 +30,15 @@
(click)="generatePassword()" (click)="generatePassword()"
data-testid="generate-password" data-testid="generate-password"
></button> ></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-hint>{{ "sendPasswordDescV2" | i18n }}</bit-hint>
</bit-form-field> </bit-form-field>
<bit-form-control *ngIf="!disableHideEmail"> <bit-form-control *ngIf="!disableHideEmail">