Defect/sg 650 desktop pw/passphrase gen not auto updating on min value change (#4032)

* SG-650 - Desktop - Pw Generation - Min value ctrls now use (change) instead of (blur) for better responsiveness when using arrows on input or arrow keys.  Note: (input) has change detection issues for resetting the value to either max pw length or max value of 9 + passwordGeneration.service logic possibly needs refactoring to either enforce max of 9 or not

* SG-650 - Desktop - Passphrase Gen - min words now uses (change) instead of (blur) for better responsiveness
This commit is contained in:
Jared Snider 2022-11-10 13:11:36 -05:00 committed by GitHub
parent f7d5ee4f9e
commit 157ab4364e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -151,7 +151,7 @@
type="number" type="number"
min="3" min="3"
max="20" max="20"
(blur)="savePasswordOptions()" (change)="savePasswordOptions()"
[(ngModel)]="passwordOptions.numWords" [(ngModel)]="passwordOptions.numWords"
/> />
</div> </div>
@ -268,7 +268,7 @@
type="number" type="number"
min="0" min="0"
max="9" max="9"
(blur)="savePasswordOptions()" (change)="savePasswordOptions()"
[(ngModel)]="passwordOptions.minNumber" [(ngModel)]="passwordOptions.minNumber"
/> />
</div> </div>
@ -279,7 +279,7 @@
type="number" type="number"
min="0" min="0"
max="9" max="9"
(blur)="savePasswordOptions()" (change)="savePasswordOptions()"
[(ngModel)]="passwordOptions.minSpecial" [(ngModel)]="passwordOptions.minSpecial"
/> />
</div> </div>