After the nice addition in: https://github.com/bootstrap-ruby/bootstrap_form/pull/664 I've run into issues with attributes that have conditional presence validators (:if and :unless). This PR fixes that, so the required HTML-attributes are only added when we are sure the attributes are always required.
After the nice addition in: https://github.com/bootstrap-ruby/bootstrap_form/pull/664 I've run into issues with attributes that have conditional presence validators (:if and :unless). This PR fixes that, so the required HTML-attributes are only added when we are sure the attributes are always required.