how to update the new value to state ?
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 25/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- react, typescript
- Domain
- frontend
Research direction
Start with the component's onEdit callback and its current newValue and oldValue arguments. Trace how edited JSON is exposed to the parent and determine what is needed for a React state value to collect the user's changes. Done means the component can support the described form workflow, including submitting the edited JSON.
Written by the indexing model from the issue text.
Description
onEdit method seems to only provider newValue, oldValue, if don't have key, how can I update the state?
I want to use this component as a form component, so that users can edit json, submit the form, I need to use state to collect the json input by the user
- Dominant language
- TypeScript
- Stars
- 420
- Forks
- 24
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from uiwjs/react-json-view
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
uiwjs/react-json-view#92 · 3 comments ·
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
uiwjs/react-json-view#93 ·
-
Named export Open
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
uiwjs/react-json-view#90 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 52/100
uiwjs/react-json-view#89 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
uiwjs/react-json-view#88 · 1 reaction ·
All issues in uiwjs/react-json-view
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
area:tools bug good first issue help wanted priority:P2
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
TaewoooPark/Motifcode#14 ·
-
bug 🐞
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
[Bounty proposal] fix(web): memory insights count an evening memory on the next day ($25 proposed) Open
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
BasedHardware/omi#15320 ·
-
Difficulty 2/5 Half a day Newbie friendliness 78/100
vercel/vercel-plugin#199 ·