Skip to content

Cannot read property 'option' of undefined #1447

@thezanke

Description

@thezanke

Problem

If you try to use arrow keys in a Select with zero options after tabbing to it it throws TypeError Cannot read property 'option' of undefined.

Demo

https://plnkr.co/edit/CYKgXtDCN8N3F16StNTq?p=preview
Steps to reproduce:

  1. Focus the top input element
  2. Tab to the Select element
  3. Push up or down arrow key

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions