Skip to content

Fix JS TypeError when input is readonly#601

Open
pstephane wants to merge 1 commit intojonthornton:masterfrom
pstephane:patch-6
Open

Fix JS TypeError when input is readonly#601
pstephane wants to merge 1 commit intojonthornton:masterfrom
pstephane:patch-6

Conversation

@pstephane
Copy link
Copy Markdown
Contributor

If input is readonly, pressing down key (keyCode = 40) causes a JS TypeError: list is undefined.
This pull request attempts to fix it in _keydownhandler method.

What do you think? _keyuphandler method does not cause error, but this code should be applied in this method.

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