Closed velosipedist closed 11 years ago
Without passing 'multiple'=>'multiple' in widget's htmlOptions multiselected values in hidden dropdown input will be restored from model incorrectly, at least in Chrome v28 for Windows.
'multiple'=>'multiple'
htmlOptions
For now, it can be only workarounded like:
$this->widget('yiiwheels.widgets.multiselect.WhMultiSelect',array( // rest of config options - model, attribute, etc 'htmlOptions'=>array('multiple'=>'multiple') ));
This is fixed by @velosipedist (you) at https://github.com/2amigos/yiiwheels/commit/952c894baf3db496e908ad334f661d10d61085bd
Without passing
'multiple'=>'multiple'
in widget'shtmlOptions
multiselected values in hidden dropdown input will be restored from model incorrectly, at least in Chrome v28 for Windows.For now, it can be only workarounded like: