Removed unused console.log

This commit is contained in:
Florian Bouillon 2020-06-15 17:27:13 +02:00
parent af7bd78dfb
commit b34a4c0a0d

View File

@ -7,9 +7,10 @@ extends AbstractAttribute {
public trigger(): boolean {
const regStr = this.input.element.dataset.regex
if (!regStr) return true
const regex = new RegExp(regStr, "g")
const test = this.input.getValue() + ""
console.log(test)
return regex.test(test)
}