mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-29 03:13:40 +01:00
Add autocomplete attribute to input widgets
This commit is contained in:
parent
c4809386e1
commit
44d4b70aaf
@ -131,6 +131,10 @@ const Et2InputWidgetMixin = <T extends Constructor<LitElement>>(superclass : T)
|
|||||||
autofocus: {
|
autofocus: {
|
||||||
type: Boolean,
|
type: Boolean,
|
||||||
reflect: true
|
reflect: true
|
||||||
|
},
|
||||||
|
|
||||||
|
autocomplete: {
|
||||||
|
type: String
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@ -184,6 +188,7 @@ const Et2InputWidgetMixin = <T extends Constructor<LitElement>>(superclass : T)
|
|||||||
|
|
||||||
this.et2HandleFocus = this.et2HandleFocus.bind(this);
|
this.et2HandleFocus = this.et2HandleFocus.bind(this);
|
||||||
this.et2HandleBlur = this.et2HandleBlur.bind(this);
|
this.et2HandleBlur = this.et2HandleBlur.bind(this);
|
||||||
|
this.autocomplete = 'on';
|
||||||
}
|
}
|
||||||
|
|
||||||
connectedCallback()
|
connectedCallback()
|
||||||
|
Loading…
Reference in New Issue
Block a user