mirror of
https://github.com/docusealco/docuseal
synced 2026-11-04 14: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
@@ -20,7 +20,7 @@ export default class extends HTMLElement {
|
||||
fetch = (text, resolve) => {
|
||||
const queryParams = new URLSearchParams({ q: text })
|
||||
|
||||
fetch('/api/template_folders_autocomplete?' + queryParams).then(async (resp) => {
|
||||
fetch('/template_folders_autocomplete?' + queryParams).then(async (resp) => {
|
||||
const items = await resp.json()
|
||||
|
||||
resolve(items)
|
||||
|
||||
Reference in new issue
Block a user