Is there a standard way to present a list builder with preset options?

A user can build a list of items by typing in their entries manually. The user can also choose to 'autofill' the list by selecting an item from a dropdown menu. I.e. the user might choose "Animals", and the list would pre-populate with "Cat", "Dog", "Horse" etc.

Is there any standard way of implementing something like this? We currently have two fields, the first to enter the items, and the second is the dropdown of preset options (Animals, Cars etc). It would be nice to somehow have this exist as a single field.

I've been trying to find examples of this sort of behaviour on other sites but haven't had any luck.