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

How to add form items on the fly for fields with multiple values? #816

Open
luxio opened this issue Jul 5, 2016 · 4 comments
Open

How to add form items on the fly for fields with multiple values? #816

luxio opened this issue Jul 5, 2016 · 4 comments

Comments

@luxio
Copy link

luxio commented Jul 5, 2016

I have added a file field widget to the DrupalGap file core module to upload files using the file create raw services ressource:

file_upload

Now I want to support file fields with multiple values. How do I add an additional file form element to the node edit form after one file has been added?

@signalpoint
Copy link
Owner

@luxio Nicely done! To follow up, this is related to our discussion in #178 for adding another item to an element, both of which are dependant first on the resolution of https://www.drupal.org/node/2224803 for the Services module.

@luxio
Copy link
Author

luxio commented Jul 13, 2016

Thanks. I have submitted a patch for the services module.

@luxio
Copy link
Author

luxio commented Jul 17, 2016

What do you think about #825:

Drupal Gap Video

@signalpoint
Copy link
Owner

Great progress on the 'Add another item' functionality, we're getting closer to getting this into DG core!

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

No branches or pull requests

2 participants