Reputation: 819
I have an issue with React-Select. Just started using it as it fits my business requirements.
return (
<FormGroup row>
<Col md={6}>
<Select
placeholder="Please Select..."
name={fieldName}
onChange={onChange}
options={options} />
</Col>
</FormGroup>
)
I did not show the rest of the code; fieldName
, onChange
& options
are props passed from parent-component to child-component.
On the browser, the Dropdown
bar seems to be working but I am still getting a warning:
Warning: Unknown prop 'theme' on
<input>
tag. Remove this prop from the element. in input (created by AutosizeInput) in div (created by AutosizeInput) [...]
I have a couple of questions:
<input>
tag are they talking about?Thanks community
Upvotes: 0
Views: 231