mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
Fix unable to clear link value
This commit is contained in:
parent
fd5160e9fe
commit
4343fbca32
@ -121,8 +121,7 @@ export class Et2LinkSearch extends Et2Select
|
|||||||
let item = this.select?.querySelector('[value="' + option.value + '"]');
|
let item = this.select?.querySelector('[value="' + option.value + '"]');
|
||||||
if(item)
|
if(item)
|
||||||
{
|
{
|
||||||
// Replace instead of changing the whole thing to preserve LitElement marker comments
|
this.requestUpdate();
|
||||||
item.innerHTML = item.innerHTML.replace(Et2Link.MISSING_TITLE, title);
|
|
||||||
this.select.requestUpdate("value");
|
this.select.requestUpdate("value");
|
||||||
|
|
||||||
item.classList.remove("loading");
|
item.classList.remove("loading");
|
||||||
|
Loading…
Reference in New Issue
Block a user