Skip to content

maxFileSize Error #16

@hunterbit

Description

@hunterbit

Hi to all,
I have always this error when I use plugin

image

This is my code with maximum size to 40MB but when I upload one file it's return always error.
Where I wrong?

pond = FilePond.create( inputElement , {
        acceptedFileTypes: [
            'image/*',
            'application/pdf',
            'application/msword',
            'application/vnd.openxmlformats-officedocument.wordprocessingml.document'
        ],
        labelFileTypeNotAllowed: 'Il tipo di file non può essere caricato',
        fileValidateTypeLabelExpectedTypes: 'Sono accettati file di tipo IMAGE, PDF, DOC',
        allowFileSizeValidation: true,
        maxFileSize: '40MB'
    });

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions