Skip to content

Rendered order of PresetFiles #80

@m4ch

Description

@m4ch

The preset files are loaded via asynch function, which cause to not be loaded in correct order.

I have set options as:

presetFiles: [ "http://domain.com/users/profile-1.jpeg", "http://domain.com/users/profile-2.jpeg" ]

But component is rendered like:
image

But the order is not reversed, its random based on load/read time.(?)
Are there any ways to fix the image order - as it is in 'presetFiles' option?

BTW: I am tryin to develop functionality to choose "default image" in multifile upload. I would like to load "default image" as first image of previewed images, so i can mark it as "default image", but I can not because of random order of images.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions