Skip to main content

Search and Top Navigation

#10571 closed bug (fixed)

Opened August 29, 2014 12:42PM UTC

Closed September 29, 2014 06:39PM UTC

Selectmenu throws exception when typing in a closed menu containing optgroups

Reported by: SimenB Owned by:
Priority: blocker Milestone: 1.11.2
Component: ui.selectmenu Version: 1.11.1
Keywords: Cc:
Blocked by: Blocking:
Description

If you hav a Selectmenu with optgroups, and type while it has focus, it may hit an optgroup` as a result. If this happens, you get an exception.

Fiddle: http://jsfiddle.net/coLcs5pz/1/

Just put focus on the selectmenu, and type S, and you'll get an exception in the console.

Uncaught TypeError: Cannot read property 'index' of undefined

Attachments (0)
Change History (2)

Changed August 29, 2014 12:46PM UTC by scottgonzalez comment:1

milestone: none1.11.2
priority: minorblocker
status: newopen

Changed September 29, 2014 06:39PM UTC by Simen Bekkhus comment:2

resolution: → fixed
status: openclosed

Menu: Filter out non-items when typing

Fixes #10571

Closes gh-1329

Changeset: e3e5a9ffa647937d2dd458114e27e04f56bd47d0