Emagister/zend-form-decorators-bootstrap

multicheckbox

chiru007 opened this issue · 2 comments

I am unable set checkboxes on form redisplay

->setValue(array)

is not working, no checkboxes are checked. I have debugged and found $value in Twitter_Bootstrap_View_Helper_FormMultiCheckbox has got strange values.

but if I pass just one value instead of array it is working fine, one checkbox selected.

any ideas. please help

Thanks,

Can you post some example code in order to reproduce the issue?

Thanks!

thanks for your quick reply

its resolved now. stupid mistake.

isArray set to false