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

Mapping fields json request in drupalgap (unlimited fields value) #997

Open
sangasgar opened this issue Dec 11, 2017 · 0 comments
Open

Mapping fields json request in drupalgap (unlimited fields value) #997

sangasgar opened this issue Dec 11, 2017 · 0 comments

Comments

@sangasgar
Copy link

I spent a lot of time, but I can not understand
The drupalgap generates this json code for unlimited fields
field_tip_obiavlenia1":{"und":{"value":["1","2",""]}}}
But the correct query should look like this.
field_tip_obiavlenia1":{"und":[{"value":"1"},{"value":"2"}]}
How can i use hook_assemble_form_value_into_field that send the correct json request

@sangasgar sangasgar changed the title How to mapping field json in drupalgap Mapping fields json request in drupalgap (unlimited fields value) Dec 11, 2017
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

1 participant