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

Added multiple file upload field viewing support #31

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

Conversation

KZeni
Copy link

@KZeni KZeni commented May 9, 2019

First, it detects if the field value is an array or not. If it isn't, then it uses the existing setup for a single file setup. If it is, then it converts the value into an array and iterates on the files individually so they're then listed appropriately.

This doesn't handle editing of the field at this point, but it's better than not even being able to display the field value correctly (which is what this fixes).

First, it detects if the field value is an array or not. If it isn't, then it uses the existing setup for a single file setup. If it is, then it converts the value into an array and iterates on the files individually so they're then listed appropriately.
@KZeni KZeni changed the title Added multiple file upload field support Added multiple file upload field viewing support May 9, 2019
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.

None yet

1 participant