mirror of
https://github.com/bitwarden/browser
synced 2025-12-20 02:03:39 +00:00
[PM-14345] Enabling drag and drop for cipher fields (#12067)
* enabling drag and drop for cipher fields * adding drag and drop to totp and fido * removing code changes to wrong file * undoing uneeded change * Changes suggested by Shane * fixes * fixes * moving export to the correct spot --------- Co-authored-by: --global <>
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
data-testid="custom-field"
|
||||
>
|
||||
<bit-form-field *ngIf="field.type === fieldType.Text" [disableReadOnlyBorder]="last">
|
||||
<bit-label>{{ field.name }}</bit-label>
|
||||
<bit-label [appTextDrag]="field.value">{{ field.name }}</bit-label>
|
||||
<input readonly bitInput type="text" [value]="field.value" aria-readonly="true" />
|
||||
<button
|
||||
bitIconButton="bwi-clone"
|
||||
@@ -24,7 +24,7 @@
|
||||
></button>
|
||||
</bit-form-field>
|
||||
<bit-form-field *ngIf="field.type === fieldType.Hidden" [disableReadOnlyBorder]="last">
|
||||
<bit-label>{{ field.name }}</bit-label>
|
||||
<bit-label [appTextDrag]="field.value">{{ field.name }}</bit-label>
|
||||
<input
|
||||
readonly
|
||||
bitInput
|
||||
@@ -59,7 +59,9 @@
|
||||
aria-readonly="true"
|
||||
disabled
|
||||
/>
|
||||
<bit-label> {{ field.name }} </bit-label>
|
||||
<bit-label [appTextDrag]="field.value">
|
||||
{{ field.name }}
|
||||
</bit-label>
|
||||
</bit-form-control>
|
||||
<bit-form-field *ngIf="field.type === fieldType.Linked" [disableReadOnlyBorder]="last">
|
||||
<bit-label> {{ "cfTypeLinked" | i18n }}: {{ field.name }} </bit-label>
|
||||
|
||||
Reference in New Issue
Block a user