Skip to content

Commit 8a7dd5c

Browse files
authored
Merge pull request #7 from pusherman/patch-1
corrected checkFieldForError example in README
2 parents e51396f + 63560d9 commit 8a7dd5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ Vue.component('user-registration-form', {
120120

121121
methods: {
122122
checkFieldForError(field) {
123-
return this.userRegistrationForm.errors.has('field');
123+
return this.userRegistrationForm.errors.has(field);
124124
}
125125
}
126126

0 commit comments

Comments
 (0)