WhHtml::getOption() bug
Closed this issue · 1 comments
mitalcoi commented
Hi!
I'm trying to use WhDateRangePicker widget but have an error:Fatal error: Call to undefined method WhHtml::getOption() in /home/sorokin/htdocs/hut/vendor/crisu83/yiiwheels/widgets/daterangepicker/WhDateRangePicker.php on line 45
My code:
$this->widget(
'yiiwheels.widgets.daterangepicker.WhDateRangePicker', array(
'name' => 'daterangepickertest',
'htmlOptions' => array('placeholder' => 'Select date')
), true)
tonydspaniard commented
Please, update the version. Helper WhHtml has been removed, it should be TbHtml