This code https://github.com/JedWatson/react-select/blob/master/src/Select.js#L1075
seems to get incorrectly translated to:
https://github.com/JedWatson/react-select/blob/master/dist/react-select.es.js#L1736 (why the extra !this.props.multi ? part?)
This leads to errors when trying to implement renderMenu. I.e. params.valueArray will be null.
The ‘correct’ version of the code was introduced in pull request #1850, which was merged on 25 October. The last release was on 13 September… I think we'll have to wait for @JedWatson to push a new minor release to npm?
Looks like release v1.0.0 solves this! I can't seem to close the issue for you though.
As the hyperlinks in the original issue description referenced a mutable branch instead of a commit or tag, they point to different code now.
This should be solved now
edit haha, posted this comment in a tab I've had open since yesterday, when the page refreshed @fedde-s I saw you've beaten me to it :)
Most helpful comment
This should be solved now
edit haha, posted this comment in a tab I've had open since yesterday, when the page refreshed @fedde-s I saw you've beaten me to it :)