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

Error when using arrows with simple input #455

Open
Pimeko opened this issue Jun 26, 2022 · 0 comments
Open

Error when using arrows with simple input #455

Pimeko opened this issue Jun 26, 2022 · 0 comments

Comments

@Pimeko
Copy link

Pimeko commented Jun 26, 2022

Hi!

First of all thank you so much for this awesome component, it's truly a delight to use, congrats!!

I noticed an uncaught error.
When setting the prop simpleInput to true and using the up/down arrow, this error comes up:

image

I think simply adding it as a condition in eventsListener.js method onSelectByArrow(e) would sove it, like so:

onSelectByArrow (e) {
    e.preventDefault()

    if (this.disabled || this.readonly || this.simpleInput) return
...

Cheers

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