1
0
mirror of https://github.com/bitwarden/browser.git synced 2025-01-02 18:17:46 +01:00

Convert select to bit-select (#12008)

This commit is contained in:
Alec Rippberger 2024-11-17 20:24:12 -06:00 committed by GitHub
parent 0308e6e180
commit be61d5d325
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -65,17 +65,14 @@
</auth-vault-timeout-input>
<bit-form-field disableMargin>
<bit-label for="vaultTimeoutAction">{{ "vaultTimeoutAction1" | i18n }}</bit-label>
<select
aria-describedby="vaultTimeoutActionHelp"
bitInput
id="vaultTimeoutAction"
name="VaultTimeoutActions"
formControlName="vaultTimeoutAction"
<bit-select id="vaultTimeoutAction" formControlName="vaultTimeoutAction">
<bit-option
*ngFor="let action of availableVaultTimeoutActions"
[value]="action"
[label]="action | i18n"
>
<option *ngFor="let action of availableVaultTimeoutActions" [ngValue]="action">
{{ action | i18n }}
</option>
</select>
</bit-option>
</bit-select>
<bit-hint class="tw-text-sm" id="vaultTimeoutActionHelp">
{{ "vaultTimeoutActionDesc" | i18n }}
</bit-hint>