I\'m trying to create a form that appears in modal. So when user input a value, that value is stored in local storage. Here\'s a picture that help\'s you to understand what I me
I just made this issue. My code:
{this.input = ref}} defaultValue={title}/>
And then you can get the value from in some handler like this:
console.log(this.input.value);
Details can be found in my repo: https://github.com/kerf007/recipebook