frontend-collective / frontend-collective/react-sortable-tree

How to save the value of an input field for a specific node

Open
#165 7 comments 1 reaction 0 assignees View on GitHub
question
Dominant language
JavaScript
Stars
5k
Forks
914
PR merge metrics
No merged PRs in 30d

Description

Hello,
I used an input field for the title so that user can change the title if required. How to save the value of the input to that specific node? I used onChange for the input but couldn't find a possible way to save the value to the node.
And when input is saved I want to disappear the input text box so that the node appears like a normal node in a react sortable tree. How to achieve this?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.