Skip to content
This repository has been archived by the owner on Mar 1, 2024. It is now read-only.

How to use user's input as a key #30

Open
craigyu opened this issue Mar 28, 2017 · 0 comments
Open

How to use user's input as a key #30

craigyu opened this issue Mar 28, 2017 · 0 comments

Comments

@craigyu
Copy link

craigyu commented Mar 28, 2017

Hi,
I'm new to react and javascript, I want to do something like this:
"APPLY": [{ "countType": { "COUNT": "rooms_furniture" } }, { "sumSeats": { "SUM": "rooms_seats" } }, { "avgSeats": { "AVG": "rooms_seats" } }]

for countType, sumSeats and avgSeats, they should be user's input string, is there a way to achieve that using react-json-editor?
Thank you!

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

No branches or pull requests

1 participant