forked from extern/egroupware
Fix missing entry title in writable Et2LinkEntry when value is set from content
Timing issue, sometimes title gets back later than we'd like but in this case getting title earlier wasn't working.
This commit is contained in:
parent
b7623cb284
commit
0d85b3ee48
@ -114,9 +114,15 @@ export class Et2LinkSearch extends Et2Select
|
||||
{
|
||||
item.textContent = title;
|
||||
item.classList.remove("loading");
|
||||
this.syncItemsFromValue();
|
||||
}
|
||||
else
|
||||
{
|
||||
// Not already rendered, update the select option
|
||||
this.requestUpdate("select_options");
|
||||
// update the displayed text
|
||||
this.updateComplete.then(this.syncItemsFromValue);
|
||||
}
|
||||
// update the displayed text
|
||||
this.syncItemsFromValue();
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user