bootstrap_form icon indicating copy to clipboard operation
bootstrap_form copied to clipboard

Official repository of the bootstrap_form gem, a Rails form builder that makes it super easy to create beautiful-looking forms using Bootstrap 5.

Results 58 bootstrap_form issues
Sort by recently updated
recently updated
newest added
trafficstars

It looks like the mark-up added by the relatively new option `required: true` causes Chrome (at least, likely others) to do the HTML5 validation on the front end. Needs investigation...

needs more info
Bootstrap 5

The [basic custom form fields](https://getbootstrap.com/docs/4.3/components/forms/#custom-forms) are usually something you want to apply either globally or not at all, so it would be great to have the ability to globally default...

The Rails `collection_check_boxes` and `collection_radio_button` methods [can take a block](http://edgeapi.rubyonrails.org/classes/ActionView/Helpers/FormOptionsHelper.html#method-i-collection_check_boxes). If a block is provided, the helper yields a special builder to the block. The idea is that the programmer...

new feature
you can help!

Instead of using an `` tag, marking it as readonly, and worrying in the documentation about seeing errors in your input parameters, perhaps it would be simpler to render static...

A picture is worth a thousand words. ------ ![image](https://user-images.githubusercontent.com/104158/61865933-1b887580-aecc-11e9-99c8-03b4f0c4abeb.png) ------ ```slim = form.rich_text_area :summary = form.submit "Save", class: 'btn-primary' ``` I haven't dug into the CSS yet to understand what's...

bug?

I want to add additional classes to the checkboxes in a collection rendered with `collection_check_boxes`. According to the [documentation](https://github.com/bootstrap-ruby/bootstrap_form#collections), "Other options [than `:label`, `:hide_label`, `:help`] will be forwarded to the...

bug?

It would be nice to add a class when the input is valid i.e. `is-valid`. ![Image 2019-03-13 at 5 18 02 PM](https://user-images.githubusercontent.com/1819/54318353-0f061f00-45b4-11e9-95a0-3c518324d032.png)

The following code: ``` ``` Generates the following HTML: ``` Volunteer ``` The `for` attribute on the label does not match the check box id because it's using namespace. It...

the issue is present because the collection_check_boxes method doesn't generate id's for the input elements nor a for attribute for the label which breaks the check box. My suggestion is...

The tests check for an attribute `multiple="multiple"` on the hidden `input` field generated at the start of a group of check boxes. The [HTML spec on the `multiple` attribute](https://html.spec.whatwg.org/multipage/input.html#attr-input-multiple) doesn't...