mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +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 + '"]');
|
||||
if(item)
|
||||
{
|
||||
// Replace instead of changing the whole thing to preserve LitElement marker comments
|
||||
item.innerHTML = item.innerHTML.replace(Et2Link.MISSING_TITLE, title);
|
||||
this.requestUpdate();
|
||||
this.select.requestUpdate("value");
|
||||
|
||||
item.classList.remove("loading");
|
||||
|
Loading…
Reference in New Issue
Block a user