Did you know you can add suggestions to your inputs using just html?

Code

<input type="text" list="libraries">
<datalist id="libraries">
    <option value="React JS"></option>
    <option value="React Native"></option>
    <option value="Redux"></option>
    <option value="Flow"></option>
</datalist>

Example

Type a letter to get suggestions.