mirror of
https://github.com/docusealco/docuseal
synced 2026-11-04 22:42:32 -05:00
fulltext search
This commit is contained in:
1 parent
9d1860f038
commit
33811945be
36 files changed
+682
-25
No files matched your search
@@ -36,7 +36,9 @@ export default class extends HTMLElement {
|
||||
}
|
||||
|
||||
fetch = (text, resolve) => {
|
||||
const q = text.split(/[;,\s]+/).pop().trim()
|
||||
const q = this.dataset.field === 'email'
|
||||
? text.split(/[;,\s]+/).pop().trim()
|
||||
: text
|
||||
|
||||
if (q) {
|
||||
const queryParams = new URLSearchParams({ q, field: this.dataset.field })
|
||||
|
||||
Reference in new issue
Block a user