Special tag editing function action-select

I use response-select in my application and it works fine, but I need a function, when the user creates his own tag, they will edit it, which is a valid function. But in response-select there is no way to edit a custom tag.

I really need this function in my application, so I started doing it myself to edit custom tags and somehow managed to get it, as shown below:

enter image description here

This works for a single custom tag, and I need this to work for all custom tags. But it amazes me when editing the second user tag, the input field displayed in both custom tags.

Code is available here.

. , , , .

+1

Source: https://habr.com/ru/post/1678772/


All Articles