mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:20 +01:00
Explicitly define autofocus as reflected so it works in Firefox too
This commit is contained in:
parent
d95e273e70
commit
272b63d32e
@ -104,6 +104,15 @@ const Et2InputWidgetMixin = <T extends Constructor<LitElement>>(superclass : T)
|
||||
onchange: {
|
||||
type: Function
|
||||
},
|
||||
/**
|
||||
* Have browser focus this input on load.
|
||||
* Overrides etemplate2.focusOnFirstInput(), use only once per page
|
||||
* https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attributes
|
||||
*/
|
||||
autofocus: {
|
||||
type: Boolean,
|
||||
reflect: true
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user