Skip to content

Tests for radio_button and checkbox with custom id#343

Closed
lcreid wants to merge 2 commits intobootstrap-ruby:masterfrom
lcreid:radio-checkbox
Closed

Tests for radio_button and checkbox with custom id#343
lcreid wants to merge 2 commits intobootstrap-ruby:masterfrom
lcreid:radio-checkbox

Conversation

@lcreid
Copy link
Copy Markdown
Contributor

@lcreid lcreid commented Sep 1, 2017

This PR contains test cases for radio_button and checkbox with custom id, for issue #342. It doesn't include a fix. Waiting to see whether we want to fix this.

@lcreid
Copy link
Copy Markdown
Contributor Author

lcreid commented Jan 9, 2018

I originally submitted this to record an issue I didn't have time to address. Other people have found and fixed this issue, e.g. #357, so closing this PR.

@lcreid lcreid closed this Jan 9, 2018
lcreid pushed a commit to lcreid/rails-bootstrap-forms that referenced this pull request Jun 4, 2018
If provided, use option `id` to specify `for` attribute on label
for (text, email...) fields, checkbox, radio and select.
Solves bootstrap-ruby#342 issue and supercede bootstrap-ruby#221 and bootstrap-ruby#343 pull requests.

Partially solves bootstrap-ruby#251 (only the part regarding the id).
lcreid added a commit that referenced this pull request Mar 1, 2019
* Use option[:id] for label's *for* attribute

If provided, use option `id` to specify `for` attribute on label
for (text, email...) fields, checkbox, radio and select.
Solves #342 issue and supercede #221 and #343 pull requests.

Partially solves #251 (only the part regarding the id).

* Move require mocha/minitest as needed by newer version.

* Fix version of sqlite3 < 1.4 so tests will work.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant