SteveSanderson/knockout — Issue #300: The selectedOptions binding doesn't work with optgroup
Author: aaronpowell
Created: 2012-01-30 04:05:08+00:00
State: open

I have a server-built select list that has some tags in it that I just want to bind with the selectedOptions binding.

In the getSelectedValuesFromSelectNode it does only a single-level check for option elements, thus failing to find ones in optgroups.

It isn't hard to KO to check that and handle optgroup there.