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

placeholderColor cannot be changed #16

Closed kevingoenadibrata closed 3 years ago

kevingoenadibrata commented 3 years ago

I saw in the docs that the default value for placeholderColor is set to 'grey'. I wanted to change the color of the placeholder so I added a prop to the component. I added this code in styling={{placeholderColor: "#ffffff"}} and apparently, it is still showing a grey color for the placeholder.

sickdyd commented 3 years ago

@kevingoenadibrata Hello! I fixed the issue in the release 5.0.9.

Checkout the sandbox with a working example: https://codesandbox.io/s/peaceful-voice-1ludg?file=/src/App.js

kevingoenadibrata commented 3 years ago

Awesome! Tried in my code, it works! Thanks