react-bootstrap-validation
react-bootstrap-validation copied to clipboard
horizontal forms?
It seems not possible to have the label of the input field in front of the field?
Try to use: <Form className="form-horizontal">
and then in your ValidatedInput components, set the bootstrap column sizes:
e.g.
<ValidatedInput type='text' label={gettext('First name')} labelClassName='col-sm-4' wrapperClassName='col-sm-12' name='first_name' defaultValue={this.props.first_name} validate='required' errorHelp={{ required: gettext('Please enter your first name') }} />