josdejong / josdejong/jsoneditor

Create array or object based on selection in above div fields

Open
#1,014 3 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
JavaScript
Stars
12.3k
Forks
2.1k
PR merge metrics
No merged PRs in 30d

Description

Hi team, As i am using jsoneditor newly I need help from you. I am looking for creating new Array/Object in a jsoneditor based on selection in different div fields. Any suggestion links if someone has done this before would be very helpful.
In detail :
In one div id , i have this selection.
Screenshot 2020-06-16 at 10 53 09 AM

If i select yes here, it should go and add an activity in my jsoneditor with name whatever I want to give like for example: Jira

Screenshot 2020-06-16 at 10 55 21 AM

Finally number of activity in my editor should be 5 with newly added "jira"

Hope I am clear on my question. Anyone here has any idea on it?

Note: I tried OnCreatemenu option, i didn't succeed. May be I am not getting clear picture on how to use in my context.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.