mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
Fix adding a freeEntry did not trigger change event
This commit is contained in:
parent
a79a0802a1
commit
bea34ad403
@ -1114,7 +1114,7 @@ export const Et2WithSearchMixin = <T extends Constructor<LitElement>>(superclass
|
|||||||
*/
|
*/
|
||||||
public createFreeEntry(text : string) : boolean
|
public createFreeEntry(text : string) : boolean
|
||||||
{
|
{
|
||||||
if(!this.validateFreeEntry(text))
|
if(!text || !this.validateFreeEntry(text))
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
@ -1138,6 +1138,7 @@ export const Et2WithSearchMixin = <T extends Constructor<LitElement>>(superclass
|
|||||||
{
|
{
|
||||||
this.value = text;
|
this.value = text;
|
||||||
}
|
}
|
||||||
|
this.requestUpdate("value");
|
||||||
|
|
||||||
// If we were overlapping edit inputbox with the value display, reset
|
// If we were overlapping edit inputbox with the value display, reset
|
||||||
if(!this.readonly && this._activeControls?.classList.contains("novalue"))
|
if(!this.readonly && this._activeControls?.classList.contains("novalue"))
|
||||||
|
Loading…
Reference in New Issue
Block a user