diff --git a/README.md b/README.md index 78dc2f3..a69f7a3 100644 --- a/README.md +++ b/README.md @@ -120,7 +120,7 @@ Vue.component('user-registration-form', { methods: { checkFieldForError(field) { - return this.userRegistrationForm.errors.has('field'); + return this.userRegistrationForm.errors.has(field); } }