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

Fix file info path during edit when not multiple #18

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

eric-burel
Copy link

Hi,

I figured out a first bug: when previewing a single file, it still try to find the url at ['yourResolverName', 0] as a default, even if your value is not an array.
Checking if the input allow multiple files seems to fix this.

Also, I have tried to write my own previewFromValue and add it in the schema, as you do here: https://github.com/OrigenStudio/vulcan-files-simple-example/blob/master/packages/example-instagram/lib/modules/pics/schema.js#L56

However, value is equal to the input props (and props is not defined). I could not trace where the call is made even when searching all references to this method, which sounds weird.

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

Successfully merging this pull request may close these issues.

1 participant