Added autocomplete property
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Joan Sanchez 2020-03-10 14:28:50 +01:00
parent 3c88a25c2a
commit 509f2233fc
1 changed files with 1 additions and 1 deletions

View File

@ -138,7 +138,7 @@ export default class Field extends FormInput {
set autocomplete(value) {
this._autocomplete = value;
console.log(value);
if (value === 'off')
this.input.setAttribute('autocomplete', 'off');
}