Hello,
I would like to use an input field for title so that user can change the title if required. Adding input field is easy but how to save the value?
Add an onChange attribute to that input.
Yes, I have done that but then how to save that value to that specific node?
Got it to work. Thanks!
@thewebsitedev When you have an answer to your question, it's helpful if you share the code you used for others to learn from!
@AaronHarris I know but I actually modified react-sortable-tree quite a bit and so it might not work for other users. I will try to provide an example when I get some time.
@thewebsitedev so can you show your code,i really want to know how to save the value when i use an input field for title..thanks!
I have the same issue. Can you please mention how you solved it?
Most helpful comment
@thewebsitedev so can you show your code,i really want to know how to save the value when i use an input field for title..thanks!