H
H
h0tz2021-08-20 12:48:41
React
h0tz, 2021-08-20 12:48:41

How to add chip instead of a certain word (not at the beginning, but instead of it) in autocomplete) material-ui?

I receive data from the server, and when what the user enters and the element in the autocomplete drop-down menu matches (and the user clicks on an option from the drop-down menu), then the word in the input is replaced with chip, the rest of the text is unchanged. Example:
611f79b00c852501690935.jpeg

Searched everywhere, found only autocomplete with chip at the beginning, or only on chip's. If this is not the case, then in what direction should we move in order to implement this?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question