Skip to content

Commit

Permalink
Fix handling of startswithletter
Browse files Browse the repository at this point in the history
Checking "startswithletter" doesn't make any sense if neither upper nor lower case is allowed, so I unchecked it.  Unfortunately, it looked like you could check it without enabling any letters.  Disabling the checkbox in that situation fixes the confusion.
  • Loading branch information
alanhkarp committed Jan 2, 2024
1 parent 7204780 commit bbf37e4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/ssp.js
Original file line number Diff line number Diff line change
Expand Up @@ -860,6 +860,9 @@ let SitePasswordWeb = ((function (self) {
if (!(settings.allowupper || settings.allowlower)) {
settings.startwithletter = false;
$startwithletter.checked = false;
$startwithletter.disabled = true;
} else {
$startwithletter.disabled = false;
}
}
function clearDatalist(listid) {
Expand Down

0 comments on commit bbf37e4

Please sign in to comment.