mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-12 08:58:30 +01:00
Fix unable to clear link value
This commit is contained in:
parent
f454d10b71
commit
d24c0f05ce
@ -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