martynenko-dmitry
martynenko-dmitry
@samdark Nothing changed. Problem locates in renderSelectOptions() of helpers/BaseHtml.php Previous condition was `$attrs['selected'] = $selection !== null && (!ArrayHelper::isTraversable($selection) && !strcmp($key, $selection) || ArrayHelper::isTraversable($selection) ...` Now condition is `$attrs['selected'] =...
> This is the same as in #19508 isn't it? @bizley I think it the same issue
> Would it be fixed if we'll change `strict` default value? Yes, it will help for PHP 7.x in our case - for numeric and string values in selects. But...