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

Tab Arrays don't load multiple tabs with a value that has multiple members #15

Closed
mushishi78 opened this issue Jun 29, 2015 · 2 comments

Comments

@mushishi78
Copy link

To replicate, go to playground with tabs and add value:

  ,"value": {
    "friends": [
      { "nick": "Jim" },
      { "nick": "John" }
    ]
  }

It works for the normal array view and on the master fork.

@ulion
Copy link
Owner

ulion commented Jun 29, 2015

Add "key": "friends" to the form definition of the tabarray, seems can fix
the problem. Without the "key", jsonform can not guess that friends array
value is just for that tabarray in the form definition.

2015-06-29 23:21 GMT+08:00 Max White notifications@github.com:

To replicate, go to playground with tabs
http://ulion.github.io/jsonform/playground/?example=fields-tabarray and
add value:

, value: {
friends: [
{ nick: 'Jim' },
{ nick: 'John' }
]
}

It works for the normal array view and on the master fork.


Reply to this email directly or view it on GitHub
#15.

Ulion

@mushishi78
Copy link
Author

Great Thanks!

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

2 participants