forked from extern/egroupware
fix ReferenceError: value is not defined
This commit is contained in:
parent
30da3bb923
commit
b24b6b42e4
@ -331,9 +331,9 @@ export const Et2WithSearchMixin = <T extends Constructor<LitElement>>(superclass
|
|||||||
// Overridden to add options if allowFreeEntries=true
|
// Overridden to add options if allowFreeEntries=true
|
||||||
if(this.allowFreeEntries)
|
if(this.allowFreeEntries)
|
||||||
{
|
{
|
||||||
if(typeof this.value == "string" && !this.select_options.find(o => o.value == value))
|
if(typeof this.value == "string" && !this.select_options.find(o => o.value == this.value))
|
||||||
{
|
{
|
||||||
this.createFreeEntry(value);
|
this.createFreeEntry(this.value);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user