react-bootstrap-validation icon indicating copy to clipboard operation
react-bootstrap-validation copied to clipboard

How to make inline radios ?

Open benjamincanac opened this issue 8 years ago • 1 comments

Hi,

Is there a way to use the radio-inline class of Bootstrap ?

I tried to wrap each Radio component inside a label as the Bootstrap documentation says but I got : "Only Radio component is allowed inside RadioGroup".

<RadioGroup name="radio" validate="required">
  <label class="radio-inline">
    <Radio value='mr' label='Mr' />
  </label>
</RadioGroup>

Thanks!

benjamincanac avatar Nov 24 '15 11:11 benjamincanac

I don't think there's a way to do this at the moment, but I'll try to fix this in the coming days.

heilhead avatar Nov 30 '15 00:11 heilhead