sickdyd / react-search-autocomplete

A search box that filters the provided array of objects
https://sickdyd.github.io/react-search-autocomplete
MIT License
220 stars 84 forks source link

Default value problem #11

Closed emeldincer closed 3 years ago

emeldincer commented 3 years ago

How can I add default value?

sickdyd commented 3 years ago

@emeldincer Hello, you might want to use the placeholder prop.

placeholder,
    // Default value: "". The placeholder of the search box.