1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-10 21:33:27 +00:00

[PM-7896] Cipher Form - Additional Options section (#9928)

* [PM-7896] Adjust cipher form container to expose config and original cipher view for children

* [PM-7896] Add initial additional options section

* [PM-7896] Add tests

* [PM-7896] Add TODO comments for Custom Fields

* [PM-7896] Hide password reprompt checkbox when unavailable

* [PM-7896] Fix storybook
This commit is contained in:
Shane Melton
2024-07-11 15:01:24 -07:00
committed by GitHub
parent 050f8f4bdc
commit 9dda29fb9c
8 changed files with 235 additions and 11 deletions

View File

@@ -0,0 +1,20 @@
<bit-section [formGroup]="additionalOptionsForm">
<bit-section-header>
<h2 bitTypography="h5">{{ "additionalOptions" | i18n }}</h2>
</bit-section-header>
<bit-card>
<bit-form-field>
<bit-label>{{ "notes" | i18n }}</bit-label>
<textarea bitInput formControlName="notes"></textarea>
</bit-form-field>
<bit-form-control *ngIf="passwordRepromptEnabled$ | async">
<input type="checkbox" bitCheckbox formControlName="reprompt" />
<bit-label>{{ "passwordPrompt" | i18n }}</bit-label>
</bit-form-control>
<!-- TODO: Add "+ Add Field" button for Custom Fields - PM-8803 -->
</bit-card>
</bit-section>
<!-- TODO: Add Custom Fields section component - PM-8803 -->