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

Question: Nested Map objects #145

Open
robshep opened this issue Oct 18, 2022 · 1 comment
Open

Question: Nested Map objects #145

robshep opened this issue Oct 18, 2022 · 1 comment

Comments

@robshep
Copy link

robshep commented Oct 18, 2022

Hi,
Nice looking library. great job.

Is it possible to use nested properties, like the BlitzListForm, but where the keys are dynamic but each element is of the same type?

{
    "name": "Charlie", 
    "children": {
        "alice": { "key": "alice", "name": "Alice", "age": 9 },
        "bob" : { "key": "bob", "name": "Bob", "age", 10 }
    }
}

Thanks

@mesqueeb
Copy link
Member

@robshep you'll have to convert it to an array to display in a blitzListForm and then convert it back into an object when you need the data back in its original shape.

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