mirror of
https://github.com/bitwarden/browser
synced 2025-12-15 07:43:35 +00:00
Use radio buttons for password generator type instead of dropdown (#955)
* fix: radio instead of dropdown * fix: remove, depend on upstream jslib * chore: remove unnecessary label * fix: missing tag * chore: add label, remove dupl. intlz. * feat: update jslib version * Revert "feat: update jslib version" This reverts commit 85f4b758bda793f10e32f2aea6928bab9be02e07. * Update jslib Co-authored-by: Thomas Rittson <trittson@bitwarden.com>
This commit is contained in:
2
jslib
2
jslib
Submodule jslib updated: 6f6b5a5503...119699b82c
@@ -27,12 +27,17 @@
|
|||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="box-content condensed" [hidden]="!showOptions">
|
<div class="box-content condensed" [hidden]="!showOptions">
|
||||||
<div class="box-content-row" appBoxRow>
|
<div class="box-content-row box-content-row-radio">
|
||||||
<label for="type" class="sr-only">{{'type' | i18n}}</label>
|
<label class="sr-only radio-header">{{'type' | i18n}}</label>
|
||||||
<select id="type" [(ngModel)]="options.type" (change)="saveOptions()">
|
<div class="radio-group text-default" appBoxRow name="PassTypeOptions"
|
||||||
<option value="password">{{'password' | i18n}}</option>
|
*ngFor="let o of passTypeOptions">
|
||||||
<option value="passphrase">{{'passphrase' | i18n}}</option>
|
<input type="radio" class="radio" [(ngModel)]="options.type" name="Type_{{o.value}}"
|
||||||
</select>
|
id="type_{{o.value}}" [value]="o.value" (change)="saveOptions()"
|
||||||
|
[checked]="options.type === o.value">
|
||||||
|
<label class="unstyled" for="type_{{o.value}}">
|
||||||
|
{{o.name}}
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user