-2

there I am building a new project and wondering how can i implement this in react/nextjs. and i wanted show user selection or hashtag selction dialog around the textarea but didn't find any good article or github repo about it any one can help me that would be great!.

this is the video link.

juliomalves
  • 42,130
  • 20
  • 150
  • 146
  • This seems a pretty basic reactivity feature. You just have to watch the changes of a textarea (onChange method), and do something if the input value contain #... – lovis91 Sep 21 '22 at 08:05
  • 1
    show us what you tried, but don't think stackoverflow will do the code for you.. – lovis91 Sep 21 '22 at 08:06

1 Answers1

0

Try this:

 <input
        type="text"
        onKeyUp={(e) => {
          console.log(e.key);
        }}
      />