Skip to content

[v3] Getting error props down a slot #3269

Answered by logaretm
gregorvoinov asked this question in Q&A
Discussion options

You must be logged in to vote

You didn't pass the error prop to the <TextField> node, you should the same like you did with onInput:

<vFormRow validate="required" v-slot="{ onInput, error }">
  <vTextfield @input="onInput" :error="error" />
</vFormRow>

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@gregorvoinov
Comment options

@logaretm
Comment options

@gregorvoinov
Comment options

Answer selected by gregorvoinov
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants