You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a tag is clicked, I want to remove it and put it back into the main input box for editing (as opposed to using editable, which does not remove the tag and creates a separate input box). I thought of accessing the main input box using useRef:
<ReactTagsinputProps={{ref:inputEl}}/>
However, inputEl.current is null. I could find the input box by id, but would like to know whether there is a more direct way to put the tag into the input box.
The text was updated successfully, but these errors were encountered:
When a tag is clicked, I want to remove it and put it back into the main input box for editing (as opposed to using
editable
, which does not remove the tag and creates a separate input box). I thought of accessing the main input box usinguseRef
:However,
inputEl.current
isnull
. I could find the input box byid
, but would like to know whether there is a more direct way to put the tag into the input box.The text was updated successfully, but these errors were encountered: