forked from extern/egroupware
Et2Select: Avoid JS error if allowFreeEntries=true but editModeEnabled=false
This commit is contained in:
parent
ddd72fd51a
commit
9ebc1e8f15
@ -455,7 +455,7 @@ export const Et2WithSearchMixin = <T extends Constructor<LitElement>>(superclass
|
||||
this._searchInputNode.focus();
|
||||
this._searchInputNode.select();
|
||||
}
|
||||
if(this.allowFreeEntries && !this.multiple)
|
||||
if(this.editModeEnabled && this.allowFreeEntries && !this.multiple)
|
||||
{
|
||||
this.startEdit();
|
||||
this._editInputNode.select();
|
||||
|
Loading…
Reference in New Issue
Block a user