#20 ✓invalid
Jon Hancock

radio button helper :checked

Reported by Jon Hancock | December 21st, 2008 @ 09:01 AM

The :checked hash param of radio_button helper needs to check if :checked is true. If it is anything but true, the attribute should not be merged into the html attribs as radio buttons are goofy in html in that if the checked param has any value it will be on.

It seems this check needs to go in builder.rb bound_radio_button

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Shared Ticket Bins

People watching this ticket