Skip to content
Snippets Groups Projects
Commit 39288102 authored by Jonas Leder's avatar Jonas Leder
Browse files

auto update pw on option change

parent 74d808ea
No related branches found
No related tags found
No related merge requests found
Pipeline #2116 passed
......@@ -22,6 +22,20 @@ class PasswordGenerator extends HTMLElement {
pwlen.oninput = () => {
pwlenSpan.innerText = pwlen.value;
button.click();
}
includeNum.onchange = () => {
button.click();
}
includeBigChar.onchange = () => {
button.click();
}
includeSmallChar.onchange = () => {
button.click();
}
includeSpecialChat.onchange = () => {
button.click();
}
button.onclick = () => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment