Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Prevent video reordering to first position #945

Open
1 task done
bennetsadyba opened this issue Nov 16, 2023 · 1 comment
Open
1 task done

[Feature] Prevent video reordering to first position #945

bennetsadyba opened this issue Nov 16, 2023 · 1 comment

Comments

@bennetsadyba
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Is your feature request related to a problem? Please describe.

Hi,

is it possible to prevent drag/reorder of an uploaded video file to the first position?

Describe the solution you'd like

I want image files only to be at the first position as this sets my "main" image form those uploaded.

Describe alternatives you've considered

I was experimenting with onreorderfiles callback but I can't get the iformation on filename or file type/extension.

@rikschennink
Copy link
Collaborator

The files list passed to onreorderfiles contains all information for each file, see below how to access it: https://pqina.nl/filepond/docs/api/file-item/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants