I could really use some help identifying an approach/control on this problem. I'm trying to implement something like is seen in Facebook or Instagram where one can type a friend/contact name, a list of suggestions appears, and then the user can select one to insert, that selection is added and appears differently than the other text. This doesn't seem like a huge ask but I cannot find anything close to it other than some completely custom solution.
Desired text example: Here is your Suggestion that was Selected.
I would be glad to hear any suggestions. Controls to start with to add the functionality to. Keywords that I may not be aware of that are used for the functionality I'm describing. Anything would be helpful.