29 merge requests!28721Hot test,!27561Adds font-weight-medium to font weight classes,!26437merge,!26197V4 dev xmr,!20778V4 dev,!20539Allow multiple modals,!20854Fixes 15534,!19272V4 dev xmr grunt html,!19581V4 fix popover,!20493V4 dev display,!20636Fix docs for heading sizes,!19824blockquote-center,!22547Finished a new translation for bootstrap,!18704Extend form docs with example form errors,!19533Npm deps,!22143Fix selectable disabled toggle radio buttons,!22598test,!21067dfsa,!19602V4 palettes arun,!19448New pull request for testing,!19358XXL grid size,!19825.blockquote-center,!25326Adjust examples,!23995Add back cursor: pointer for .btn-link,!23178Spinner,!19754Issue template,!19753Card img overlay padding,!19580ExitStars,!17021v4
@@ -85,6 +86,32 @@ Place any checkbox or radio option within an input group's addon instead of text
</div>
{% endexample %}
## Multiple addons
Multiple add-ons are supported and can be mixed with checkbox and radio input versions.
{% example html %}
<divclass="row">
<divclass="col-lg-6">
<divclass="input-group">
<spanclass="input-group-addon">
<inputtype="checkbox"aria-label="Checkbox for following text input">
</span>
<spanclass="input-group-addon">$</span>
<inputtype="text"class="form-control"aria-label="Text input with checkbox">
</div>
</div>
<divclass="col-lg-6">
<divclass="input-group">
<spanclass="input-group-addon">$</span>
<spanclass="input-group-addon">0.00</span>
<inputtype="text"class="form-control"aria-label="Text input with radio button">
</div>
</div>
</div>
{% endexample %}
## Button addons
Buttons in input groups are a bit different and require one extra level of nesting. Instead of `.input-group-addon`, you'll need to use `.input-group-btn` to wrap the buttons. This is required due to default browser styles that cannot be overridden.