You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In \Xoops\Form\Select (XoopsCore/htdocs/xoops_lib/Xoops/Form/Select.php) setting the selected attribute uses selected="selected" however per HTML standard should just be selected...
in renderOption() method change lines 104-106 from:
if (in_array($optionValue, $selected)) {
$rendered .= ' selected="selected"';
}
to:
if (in_array($optionValue, $selected)) {
$rendered .= ' selected';
}
This effects multiple XoopsForm Objects since several classes use \Xoops\Form\Select. Same issue exists in XOOPS 2.5.x series - I'll open a separate issue there too...
The text was updated successfully, but these errors were encountered:
geekwright
added a commit
to geekwright/XoopsCore
that referenced
this issue
Jun 4, 2019
In \Xoops\Form\Select (XoopsCore/htdocs/xoops_lib/Xoops/Form/Select.php) setting the selected attribute uses selected="selected" however per HTML standard should just be selected...
in renderOption() method change lines 104-106 from:
to:
This effects multiple XoopsForm Objects since several classes use \Xoops\Form\Select. Same issue exists in XOOPS 2.5.x series - I'll open a separate issue there too...
The text was updated successfully, but these errors were encountered: