Closed
Description
Has next warning in console
Warning: `controlId` is ignored on `<FormControl>` when `id` is specified.
My code:
<FormGroup controlId="start_date">
<Col componentClass={ControlLabel} sm={3}>
Start date
</Col>
<Col sm={9}>
<DatePicker ref="startDateInput" />
</Col>
</FormGroup>
I know I may remove controlId
prop form FormGroup
, but in this case how I may assign label for input? I want user to be able to click on label to make input in focus.
Metadata
Metadata
Assignees
Labels
No labels