1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-18 09:13:33 +00:00

add input for length

This commit is contained in:
Kyle Spearrin
2018-01-31 21:33:55 -05:00
parent 06106e1775
commit 88c730981a
3 changed files with 34 additions and 21 deletions

View File

@@ -23,11 +23,13 @@
{{'options' | i18n}}
</button>
</div>
<div class="box-content condensed" *ngIf="showOptions">
<div class="box-content condensed" [hidden]="!showOptions">
<div class="box-content-row box-content-row-slider" appBoxRow>
<label for="length">{{'length' | i18n}}</label>
<span>{{options.length}}</span>
<input id="length" type="range" min="5" max="128" step="1" [(ngModel)]="options.length">
<input id="length" type="number" min="5" max="128" [(ngModel)]="options.length"
(change)="saveOptions()">
<input id="lengthRange" type="range" min="5" max="128" step="1"
[(ngModel)]="options.length">
</div>
<div class="box-content-row box-content-row-checkbox" appBoxRow>
<label for="uppercase">A-Z</label>
@@ -51,7 +53,7 @@
</div>
</div>
</div>
<div class="box" *ngIf="showOptions">
<div class="box" [hidden]="!showOptions">
<div class="box-content condensed">
<div class="box-content-row box-content-row-input" appBoxRow>
<label for="min-number">{{'minNumbers' | i18n}}</label>