[jifty-devel] Checkbox disabled

Stanislav Sinyagin ssinyagin at yahoo.com
Mon Sep 7 16:21:32 EDT 2009


hi,

I think it's wrong thatrender_value() in Jifty::Web::Form::Field::Checkbox
draws a checkbox with both readonly and disabled. I also inherited this 
behavior in Chekboxes.pm.

http://www.htmlcodetutorial.com/forms/_INPUT_DISABLED.html

As a result a read-only checkbox does not send its value to the form, and the value is 
lost upon submitting.

I think it has more sense to draw it in readonly, but not disabled mode.

your thoughts?


More information about the jifty-devel mailing list