Open sbolla2 opened 4 months ago
For now, node changes only emit onEdit/onChange
event, and you can't prevent the edition. But, you could revert it and warn user for it, onEdit
event will provide some useful params.
I'm trying to integrate this component into an application and everything works fine except when editing. In the onEdit
event the value that should come in newValue
variable, is coming in undefined
. Is there any additional configuration I need to do to fix this behavior?
hrodriguezv
Can you provide some code demo or gif/mp4?
Say I want to make sure when a specific node is edited, its type remains unchanged (for example, boolean -> boolean: true -> false), so I shouldn't be able to change its type into a string, number, object, null, or array. How can I customize options for this, is it possible?