|
|
@@ -557,9 +557,12 @@ export class APISelect {
|
|
|
private async handleSearch(event: Event) {
|
|
|
const { value: q } = event.target as HTMLInputElement;
|
|
|
const url = queryString.stringifyUrl({ url: this.queryUrl, query: { q } });
|
|
|
- await this.fetchOptions(url, 'merge');
|
|
|
- this.slim.data.search(q);
|
|
|
- this.slim.render();
|
|
|
+ if (!url.includes(`{{`)) {
|
|
|
+ await this.fetchOptions(url, 'merge');
|
|
|
+ this.slim.data.search(q);
|
|
|
+ this.slim.render();
|
|
|
+ }
|
|
|
+ return;
|
|
|
}
|
|
|
|
|
|
/**
|