i have a react-select component which i made compatible with redux-form. My SelectInput component is this:
const MySelect = props => (
<Select
{...props}
value={props.input.value}
onChange={value => props.input.onChange(value)}
onBlur={() => props.input.onBlur(props.input.value)}
options={props.options}
placeholder={props.placeholder}
/>
);
and i render it in my component which is a form
<div className="select-box__container">
<Field
id="side"
name="side"
component={SelectInput}
options={sideOptions}
value="Any"
clearable={false}
// placeholder="Select Side"
/>
</div>
I've also set initial values to the container so as the state for this component has an initial value and it's working. My problem is that when i render the component the initial value does not show in the selection box and it's empty. Why is this happenning?