Fix error syncing due to missing context

This commit is contained in:
nathan 2022-08-16 16:43:18 -06:00
parent a7fc04631e
commit 0110cdf5f9

View File

@ -129,7 +129,7 @@ export class Et2LinkSearch extends Et2Select
// Not already rendered, update the select option
this.requestUpdate("select_options");
// update the displayed text
this.updateComplete.then(this.syncItemsFromValue);
this.updateComplete.then(() => this.syncItemsFromValue());
}
});
}