Skip to content

Conversation

@shadwell
Copy link
Contributor

Allow :value_method and :text_method for collection_check_boxes and collection_radio_buttons to be any Object that responds to , e.g. a Proc or lambda, to match the same functionality as provided by the corresponding Rails form helper methods.

Ensure that a single String checked value does not perform an include? check by converting checked value(s) to an Array.

…ollection_radio_buttons to be any Object that responds to , e.g. a Proc or lambda, to match the same functionality as provided by the corresponding Rails form helper methods.

Ensure that a single String checked value does not perform an include? check by converting checked value(s) to an Array.
potenza added a commit that referenced this pull request Feb 13, 2015
Allow callable value_method and text_method for collection_check_boxes and collection_radio_buttons
@potenza potenza merged commit 9c0eb5b into bootstrap-ruby:master Feb 13, 2015
@potenza
Copy link
Member

potenza commented Feb 13, 2015

Awesome. Thanks @shadwell! 👍

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.

2 participants