Filepond: Plugins (FilepondPluginFileValidateType and FilepondPluginFileValidateType) not working!

Created on 29 Jul 2018  路  4Comments  路  Source: pqina/filepond

Hello, I've noticed those two plugins are not working for me.

<link href="https://unpkg.com/filepond/dist/filepond.css" rel="stylesheet">
<link href="https://unpkg.com/filepond-plugin-image-preview/dist/filepond-plugin-image-preview.css" rel="stylesheet">
<script src="https://unpkg.com/filepond-plugin-image-preview/dist/filepond-plugin-image-preview.js"></script>
<script src="https://unpkg.com/filepond-plugin-image-exif-orientation/dist/filepond-plugin-image-exif-orientation.js"></script>
<script src="https://unpkg.com/filepond-plugin-image-validate-size/dist/filepond-plugin-image-validate-size.js"></script>
<script src="https://unpkg.com/filepond-plugin-file-validate-size/dist/filepond-plugin-file-validate-size.js"></script>
<script src="https://unpkg.com/filepond-plugin-file-encode/dist/filepond-plugin-file-encode.js"></script>
<script src="https://unpkg.com/filepond-plugin-file-validate-type/dist/filepond-plugin-file-validate-type.js"></script>
<script src="https://unpkg.com/filepond/dist/filepond.js"></script>
FilePond.registerPlugin(
  FilePondPluginFileEncode,
  FilepondPluginFileValidateType,
  FilePondPluginFileValidateSize,
  FilePondPluginImageExifOrientation,
  FilePondPluginImagePreview,
  FilepondPluginImageValidateSize
); 

I'm getting one of those errors (random):
FilepondPluginImageValidateSize is not defined
FilepondPluginFileValidateType is not defined
FilepondPluginImageValidateSize is not defined

All 4 comments

I am using FileValidateType plugin and it is working

FilePond.registerPlugin(FilePondPluginFileValidateType);

If there is a problem, you should check others I guess.

To me is still giving the error: Can you please try using the other plugins at the same time?

Thanks.

@yukyolol It's FilePond not Filepond, I just checked the docs, and it seems the error originates from there, will update in a minute.

Ah, I see. Yeah, I took from the documentation. Thanks, @rikschennink much appreciated.
PS: I can't believe I didn't saw the difference.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jamesblasco picture jamesblasco  路  4Comments

enisdenjo picture enisdenjo  路  7Comments

WifiDubt picture WifiDubt  路  6Comments

juongithub picture juongithub  路  7Comments

paul-siteway picture paul-siteway  路  4Comments