Skip to content

Commit

Permalink
[PM-12721] - add copy button to send options password field (#11295)
Browse files Browse the repository at this point in the history
* add copy button to  send options form

* update copy language

* fix copy button value text
  • Loading branch information
jaasen-livefront authored Sep 30, 2024
1 parent 0cd2b4a commit 2f8ab08
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,15 @@ <h2 class="tw-mt-4" bitTypography="h6">{{ "additionalOptions" | i18n }}</h2>
(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">
Expand Down

0 comments on commit 2f8ab08

Please sign in to comment.