1

I read on this docs : https://github.com/pqina/vue-filepond

I try to add like this :

<FilePond 
    allowMultiple="true"
    accepted-file-types="image/jpg, image/jpeg, application/pdf"
    maxFileSize="2MB"
    required="true"/>

multiple, validation file type, max file works

But, required does not works

How can I solve this problem guys?

1 Answer 1

1

Using the v-bind:required prop works:

<form method="post" action="">
    <file-pond v-bind:required="true"/>
    <button type="submit">submit</button>
</form>

Related GitHub issue: https://github.com/pqina/vue-filepond/issues/138

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.