Top "React-select" questions

A Select control built with and for React JS

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. …

reactjs default-value react-select
How to style react-select options

What's the best way to style a react-select component's (https://github.com/JedWatson/react-select) options? I can target the select …

css reactjs react-select
How to programmatically clear/reset React-Select?

ReactSelect V2 and V3 seems to have several props like clearValue, resetValue and setValue. Whatever I'm trying, I'm not able …

javascript reactjs functional-programming react-hooks react-select
React Select auto size width

When using react-select it is not auto sizing by option value, but using width:100% as you can see in picture: …

reactjs react-select
Testing React Select component

https://github.com/JedWatson/react-select I would like to use React-Select react component, but I need to add tests. I've …

reactjs testing mocha.js reactjs-testutils react-select
How to use Select2 with Reactjs?

I have dependent fields like this <List> <select> <option></option> <option&…

javascript reactjs select2 react-select
Formik & yup form validation not working as expected with VirtualizedSelect

I created a form with formik in order to have form validations. I have used the components Formik, Form, Field …

javascript reactjs react-select formik
Promise.then is not a function - handling multiple API calls in React

I'm using react-select to auto-complete options in a search bar. The search bar displays the results in one of two …

javascript reactjs promise react-select
Conditionally disabled select option in React

I built my own React select component and would like to have an option to set the default value to …

reactjs react-select select-options
React-Select Remove focus border

i cant figure out how do i remove border or outline ( not sure which one it is ) from react select, …

css reactjs react-select