diff --git a/lizmap/www/assets/jelix/js/jforms/password-editor.js b/lizmap/www/assets/jelix/js/jforms/password-editor.js index c240619d61..0fd2391e40 100644 --- a/lizmap/www/assets/jelix/js/jforms/password-editor.js +++ b/lizmap/www/assets/jelix/js/jforms/password-editor.js @@ -46,7 +46,7 @@ var JelixPasswordEditor = { } buttonRegen.addEventListener('click', function () { - inputEl.value = JelixPasswordEditor.generatePassword(minlength, Math.min(maxlength, 30)); + inputEl.setAttribute('value', JelixPasswordEditor.generatePassword(minlength, Math.min(maxlength, 30))); launchTimerListener(); }); buttonToggleVisibility.addEventListener('click', function () {