Replies: 1 comment 2 replies
-
Hi @vasanthid, I think you should be able to do what you're wanting using Custom Buttons: https://github.com/CarlosNZ/json-edit-react?tab=readme-ov-file#custom-buttons The only limitation I can see is that there's currently no "condition" option for custom buttons -- they'll appear on every node. Do you need that kind of control or is on every node okay? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi @CarlosNZ,
Thank you for creating this library. It's easy to understand and integrate.
I'm exploring json-edit-react for my current use case where instead of add, delete, edit operations on node, I need users to be able to select the nodes they want. I was thinking of displaying checkboxes to next nodes, on select/check of the checkbox provide custom event handler to extract only the selected node from the big original json.
Is this feasible with the current version of json-edit-react ? If so, could you provide some pointers? Thank you.
Beta Was this translation helpful? Give feedback.
All reactions