Add autocomplete attribute to input widgets

This commit is contained in:
hadi 2023-04-03 12:29:50 +02:00
parent 8e94c17990
commit cac17304e5

View File

@ -131,6 +131,10 @@ const Et2InputWidgetMixin = <T extends Constructor<LitElement>>(superclass : T)
autofocus: {
type: Boolean,
reflect: true
},
autocomplete: {
type: String
}
};
}
@ -184,6 +188,7 @@ const Et2InputWidgetMixin = <T extends Constructor<LitElement>>(superclass : T)
this.et2HandleFocus = this.et2HandleFocus.bind(this);
this.et2HandleBlur = this.et2HandleBlur.bind(this);
this.autocomplete = 'on';
}
connectedCallback()