yury-dymov / react-autocomplete-input

Autocomplete input field for React
https://yury-dymov.github.io/react-autocomplete-input/
MIT License
199 stars 65 forks source link

Options contains `.` (like IP addresses) doesn't work, stops completion on `.` #94

Closed barvhaim closed 1 year ago

barvhaim commented 1 year ago

Is it the intended behavior? when I use IP addresses (strings contains .) the auto completion stops on ., is there a way to avoid that?

yury-dymov commented 1 year ago

Short answer: yes.

You may override regex prop to include . for matching