How to display array elements with jquery jsform -


i trying use jsform display edit json data!

in samples see how display array "nested objects" like

[   {href:'http://www.gargan.org',description:'gargan.org'},   {href:'http://www.github.com',description:'github'} ] 

and can fetch with

<ul class="collection" data-field="data.links">   <li><span class="field">links.description</span>    link: <input name="links.href"/></li> </ul> 

but got "pure" array like

[2500,5000,9000,12500,25000,50000] 

how values of array?

update developer updated code! in hour... have latest commit!

i updated control include feature.

the correct syntax array like:

    { "quips":["some", "array"] } 

the html should like:

    <ul class="collection" data-field="data.quips">         <li><input name="quips."/></li>     </ul> 

basically same zaheer had - jsut need add "." note field itself.


Comments

Popular posts from this blog

curl - PHP fsockopen help required -

HTTP/1.0 407 Proxy Authentication Required PHP -

c# - Resource not found error -