Currently you cannot set a default option when it is nested inside an option group.

We need to check if the passed in $option variable is an array, and if so, check its options to see if there is a match.

CommentFileSizeAuthor
#1 optgroup_default-1258092-1.patch866 byteskim.pepper

Comments

kim.pepper’s picture

Status: Active » Needs review
StatusFileSize
new866 bytes

Patch attached