Displaying 1 to 1 from 1 results

suggestible-input - A React component that quacks like an HTML <input> but which includes a selectable list of suggestions for filling in its value

  •    Javascript

A React component that quacks like an HTML <input> but which includes a selectable list of suggestions for filling in its value. As you type text into the input field, a list of suggestions will be displayed in a selectable overlay just below. The suggestions are an array of strings given to the component as a prop and are compared to the ever-changing query string that you are typing. The "closer" a suggestion is to what you have typed, the higher in the list it will appear.