mirror of
https://github.com/docusealco/docuseal
synced 2026-11-04 22:42:32 -05:00
move autocomplete controllers
This commit is contained in:
1 parent
077eab7005
commit
8bef75e570
7 files changed
+51
-55
No files matched your search
@@ -40,7 +40,7 @@ export default class extends HTMLElement {
|
||||
if (q) {
|
||||
const queryParams = new URLSearchParams({ q, field: this.dataset.field })
|
||||
|
||||
this.currentFetch ||= fetch('/api/submitters_autocomplete?' + queryParams)
|
||||
this.currentFetch ||= fetch('/submitters_autocomplete?' + queryParams)
|
||||
|
||||
this.currentFetch.then(async (resp) => {
|
||||
const items = await resp.json()
|
||||
|
||||
Reference in new issue
Block a user