Skip to content

Error when using arrows with simple input #455

@Pimeko

Description

@Pimeko

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

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