Questions tagged [react-select]

A Select control built with and for React JS

The Select control for React. Initially built for use in KeystoneJS.

Created by Jed Watson the current version (v2) has been sponsored by thinkmill and atlassian and is available here and the previous one (v1) is still accessible at this link. You can also find a guide to upgrade your version from v1 to v2.

Noteworthy improvements in the new version:

  • Flexible approach to data, with customisable functions
  • Extensible styling API with emotion
  • Component Injection API for complete control over the UI behaviour
  • Controllable state props and modular architecture
  • Long-requested features like option groups, portal support, animation, and more
1987 questions
185
votes
25 answers

How to set a default value in react-select

I have an issue using react-select. I use redux form and I've made my react-select component compatible with redux form. Here is the code: const MySelect = props => (