react-json-view
react-json-view copied to clipboard
Raise onSelect when clicking a field's NAME (not only type or value)
Hi, I'm using your wonderful component to let the user select a field from a json object. Today he can only selects a field with a value.
- Can you raise the onSelect when clicking on a field's NAME also (so it's easier to select)?
- Can you raise it when clicking on the name of an object?
Example: onSelect is not raised when clicking on "father", or "child1".
{ father: { child1: '', child2: 'Alvin' } }
thank you.