HubSpot / react-select-plus

Fork of https://github.com/JedWatson/react-select with option group support
http://github.hubspot.com/react-select-plus/
MIT License
286 stars 93 forks source link

why did you change onInputChange? #91

Closed krzysu closed 7 years ago

krzysu commented 7 years ago

react-select function(inputValue: string): string

react-select-plus function(inputValue) {}

I'm trying to add feature that will automatically split user pasted string of values separated by comma, into react-select values, but after that I need to remove initial user input. It doesn't work because onInputChange is ignoring the value returned from it.

EDIT: ok, I see in the source code that implementation is the same for both :/