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
1428 questions
108
votes
15 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 => (
yevg
  • 1,336
  • 4
  • 23
  • 49
15
votes
5 answers

ReactJS: How to wrap react-select in redux-form field?

I am working on react-select library and facing some issues, I am using redux-form library and importing component from it. So that I can submit the values via form to service. Below mentioned code works fine, when I use default