Toggleable Password

Changed * to ●
This commit is contained in:
shikhar-scs 2017-12-21 15:17:31 +05:30
parent 0f8c3caf18
commit 8434312728
3 changed files with 31 additions and 4 deletions

View file

@ -5,9 +5,7 @@ module.exports = function(state, emit) {
const div = html`
<div class="selectPassword">
<div id="addPasswordWrapper">
<input id="addPassword" type="checkbox" autocomplete="off" onchange=${
togglePasswordInput
}/>
<input id="addPassword" type="checkbox" autocomplete="off" onchange=${togglePasswordInput}/>
<label for="addPassword">
${state.translate('requirePasswordCheckbox')}</label>
</div>
@ -17,6 +15,7 @@ module.exports = function(state, emit) {
maxlength="64"
autocomplete="off"
placeholder="${state.translate('unlockInputPlaceholder')}"
type="password"
oninput=${inputChanged}/>
<input type="submit"
id="unlock-btn"