Thanks for this article, I've implemented your solution and it works fine. But I had some dificulties when there are to many tags and searching a little more, I've found a MUI component that does the same if a few more features.
The component name is Autocomplete and can be found in material-ui documentation.
Its basicaly a ComboBox with multiple values.