Skip to content
This repository was archived by the owner on Jan 21, 2021. It is now read-only.

Conversation

@aryanjaya
Copy link

This PR related to issue #10 .

This method allow you to check error for the specific field. Useful when combining it with Vuetify.

Usage example in Vuetify:

<v-text-field
  label="Name"
  v-model="form.name"
  :error="form.hasError('name')"
  :error-messages="form.error('name')"
></v-text-field>

I've tested this method in the following versions

"@inertiajs/inertia": "^0.4.0",
"@inertiajs/inertia-vue": "^0.3.0",
"vuetify": "^2.3.14"

any suggestion is welcome

@taylorotwell taylorotwell merged commit bc9dcd8 into laravel:master Nov 4, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants