Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keyboard event errors #45

Open
unarmedwombat opened this issue Mar 3, 2022 · 0 comments
Open

Keyboard event errors #45

unarmedwombat opened this issue Mar 3, 2022 · 0 comments

Comments

@unarmedwombat
Copy link

unarmedwombat commented Mar 3, 2022

Using searchable option, getting errors on keydown.arrow-down and keydown.enter events. On Chrome:

Alpine Expression Error: Cannot read properties of undefined (reading 'length')
Expression: "selectDown(window.livewire.find('JTuTirbOLoeINK9XhTum'))"

Alpine Expression Error: Cannot read properties of undefined (reading 'length')
Expression: "confirmSelection(window.livewire.find('JTuTirbOLoeINK9XhTum'))"

On Firefox:

Alpine Expression Error: component.data.optionsValues is undefined
Expression: "selectDown(window.livewire.find('AIPnzW965NeyVlAjcTY9'))"

Alpine Expression Error: component.data.optionsValues is undefined
Expression: "confirmSelection(window.livewire.find('AIPnzW965NeyVlAjcTY9'))"

Strangely, keydown.arrow-up works find, so I can use the keyboard to select options upward, but cannot select downwards or confirm selection by using keyboard, only mouse.

Alpine v3.7.1
Livewire v2.10.1
livewire-select v2.1.0

Thanks.

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

No branches or pull requests

1 participant