Stanislav Sinyagin
2009-09-07 20:21:32 UTC
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?
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?