Skip to content

Any way to include a multiline input field (eg: textarea)? #3529

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

You must be logged in to vote

only single line input field is allowed

Everything is allowed, you can validate a div if you really want to.

<Field as="textarea" name="description" />

https://vee-validate.logaretm.com/v4/api/field#rendering-simple-fields-with-as-prop

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@DanishOnGit
Comment options

@logaretm
Comment options

@AwaisSikander
Comment options

@AwaisSikander
Comment options

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