N00ts/vue3-treeview

edit finished event

Lisiadito opened this issue · 2 comments

I have the issue that I want to update the backend after I edited a node. The event node-edit is only fired after the double click into the field. Plus the event doesn't specify which node is edited. Is there a way to do this or is it possible to implement an event when the edit mode is exited?

N00ts commented

Hello, the "node-edit" event is also called when you press enter and the node is selected. I think what you are actually looking for is "node-blur" event, which is fired on input blur. Also for both events, the node is passed as argument, so you know which node is concerned.

Thanks for the answer. Will check that =)