You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I also had some custom formatting that was overriding. Haven't sorted out what it is yet, but removing one .scss file fixed the checkbox, but no doubt breaks something else, so need to figure out what class is wrong.
.input has this line and it is the problem. My comments aren't good enough to show why I have it.
height: auto !important;
Please note that there's some work being done to get the bootstrap initializer fully working with Simple Form here: heartcombo/simple_form-bootstrap#329 (separate repo for the sample app & bootstrap config development), you might want to keep an eye on that if you're going for v5.
Checkbox not rendering correctly in Bootstrap 5. I upgraded to v5 to get another feature.
Environment
yarn.lock
version "5.0.1"
resolved "https://registry.yarnpkg.com/bootstrap/-/bootstrap-5.0.1.tgz#e7939d599119dc818a90478a2a299bdaff037e09"
integrity sha512-Fl79+wsLOZKoiU345KeEaWD0ik8WKRI5zm0YSPj2oF1Qr+BO7z0fco6GbUtqjoG1h4VI89PeKJnMsMMVQdKKTw==
Current behavior. Extant is a boolean
<%= simple_form_for(@location) do |form| %>
<%= form.input :extant %>
HTML generated
Screenshot below (the green line is from the
text
field directly above). The short gray line is the checkbox:Expected behavior
A checkbox.
The short gray line does react when click on and turns blue.
The text was updated successfully, but these errors were encountered: