mirror of
https://github.com/bitwarden/desktop
synced 2025-12-24 20:23:18 +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 85f4b758bd.
* 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>
|
||||
</div>
|
||||
<div class="box-content condensed" [hidden]="!showOptions">
|
||||
<div class="box-content-row" appBoxRow>
|
||||
<label for="type" class="sr-only">{{'type' | i18n}}</label>
|
||||
<select id="type" [(ngModel)]="options.type" (change)="saveOptions()">
|
||||
<option value="password">{{'password' | i18n}}</option>
|
||||
<option value="passphrase">{{'passphrase' | i18n}}</option>
|
||||
</select>
|
||||
<div class="box-content-row box-content-row-radio">
|
||||
<label class="sr-only radio-header">{{'type' | i18n}}</label>
|
||||
<div class="radio-group text-default" appBoxRow name="PassTypeOptions"
|
||||
*ngFor="let o of passTypeOptions">
|
||||
<input type="radio" class="radio" [(ngModel)]="options.type" name="Type_{{o.value}}"
|
||||
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>
|
||||
|
||||
Reference in New Issue
Block a user