Solo hacer búsquedas de texto plano
fixes sutty/sutty#889 fixes sutty/sutty#899 fixes sutty/sutty#1475 fixes sutty/sutty#1476 fixes sutty/sutty#1937 fixes sutty/sutty#2044 fixes sutty/sutty#2107 fixes sutty/sutty#2164 fixes sutty/sutty#2193
This commit is contained in:
parent
df18fd852b
commit
7550f6ee9b
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ export default class extends Controller {
|
||||||
if (!this.hasQTarget) return
|
if (!this.hasQTarget) return
|
||||||
if (!this.qTarget.value.trim().length === 0) return
|
if (!this.qTarget.value.trim().length === 0) return
|
||||||
|
|
||||||
return this.qTarget.value.trim().replace(':', '')
|
return this.qTarget.value.trim().replaceAll(/[^a-z0-9 ]/gi, '')
|
||||||
}
|
}
|
||||||
|
|
||||||
connect () {
|
connect () {
|
||||||
|
|
Loading…
Reference in a new issue