sickdyd / react-search-autocomplete

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

Add mic button #35

Closed imdkbj closed 2 years ago

imdkbj commented 2 years ago

Hi, thnx for the beautiful library.

Kindly add a mic button and expected behaviour like as Google or expose a method to add a custom component.

sickdyd commented 2 years ago

@imdkbj Hello! What do you mean with "mic button"? Can you show me a screenshot?

imdkbj commented 2 years ago

Hey, mic to search by voice.

IMG_20210828_095228.jpg

sickdyd commented 2 years ago

@imdkbj Apologies, for the time being the search by voice feature is not going to be implemented since it would entail adding voice to text conversion libraries and I suspect a lot of extra work. Even adding just a component is not going to be easy, it would require a way to return the voice converted to text and "type" it in the search box... feel free to open a PR if you think you can do it!

If there is high demand for this I can consider looking into it more.

imdkbj commented 2 years ago

Thanks buddy for the reply. I will try to create a PR.

sickdyd commented 2 years ago

Issue closed because the feature entails too much work and doesn't seem like a popular request.