Skip to content

Commit 3e7fdea

Browse files
authored
Fix check on mask length bug (#173)
1 parent 3fedfcd commit 3e7fdea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/QuestionTypes/TextType.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
return this.question.mask.some(mask => mask.length === this.dataValue.length)
7272
}
7373
74-
return this.dataValue.length !== this.question.mask.length
74+
return this.dataValue.length === this.question.mask.length
7575
}
7676
7777
return !this.question.required || this.hasValue

0 commit comments

Comments
 (0)