Skip to content

Fixed multiple select optgroup selected bug#276

Open
hdwebpros wants to merge 2 commits intogetgrav:developfrom
hdwebpros:fix-select-optgroup-placeholder-and-multiple-selected-options
Open

Fixed multiple select optgroup selected bug#276
hdwebpros wants to merge 2 commits intogetgrav:developfrom
hdwebpros:fix-select-optgroup-placeholder-and-multiple-selected-options

Conversation

@hdwebpros
Copy link
Copy Markdown
Contributor

Right now, if you use 2 select optgroups it just automatically selects the first option of every group. It also ignores the placeholder.

This fix checks for a placeholder and uses that. If not, it just uses the first selection of the first group, and doesn't set any others to "selected"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant