PM-10047 update name input in item details (#10294)

This commit is contained in:
Jason Ng 2024-07-29 11:16:00 -04:00 committed by GitHub
parent ad01a529e8
commit 22bb1316cd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 12 additions and 8 deletions

View File

@ -7,14 +7,16 @@
<label class="tw-block tw-w-full tw-mb-1 tw-text-xs tw-text-muted tw-select-none">
{{ "itemName" | i18n }}
</label>
<input
readonly
bitInput
type="text"
[value]="cipher.name"
aria-readonly="true"
data-testid="item-name"
/>
<bit-form-field>
<input
readonly
bitInput
type="text"
[value]="cipher.name"
aria-readonly="true"
data-testid="item-name"
/>
</bit-form-field>
</div>
<ul

View File

@ -11,6 +11,7 @@ import {
SectionComponent,
SectionHeaderComponent,
TypographyModule,
FormFieldModule,
} from "@bitwarden/components";
import { OrgIconDirective } from "../../components/org-icon.directive";
@ -27,6 +28,7 @@ import { OrgIconDirective } from "../../components/org-icon.directive";
SectionHeaderComponent,
TypographyModule,
OrgIconDirective,
FormFieldModule,
],
})
export class ItemDetailsV2Component {