eliminar los : para evitar errores en las búsquedas

relacionado con #8
This commit is contained in:
f 2021-05-31 15:46:03 -03:00
parent 466b9617fe
commit 5ac46d3572

View file

@ -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() return this.qTarget.value.trim().replace(':', '')
} }
connect () { connect () {