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

Searchable select inputs records key pressed when navigating using arrow keys. #10811

Closed
dks-adaptdigital opened this issue Jan 15, 2024 · 3 comments
Labels
bug Something isn't working low priority unconfirmed

Comments

@dks-adaptdigital
Copy link

Package

filament/forms

Package Version

v3.2

Laravel Version

v10.10

Livewire Version

No response

PHP Version

PHP 8.1

Problem description

I was using arrow keys to navigate a form and fill it in. When I got to the select element, which is searchable, I noticed that it recorded the arrowdown keystroke and displayed it back to me in the UI.

Screen.Recording.2024-01-15.at.14.55.56.mov

Expected behavior

I would expect the select element to not show me which key(s) I have pressed to select an option.

Steps to reproduce

  1. Clone down the repro repository provided.
  2. Set up the application (I used sail) and run it locally.
    • setup your local db
    • composer install
    • npm install
    • npm run dev
  3. Navigate to the dummies resource and click create new.
  4. Tab to the select input and press down.

Reproduction repository

https://github.com/dks-adaptdigital/filament-arrowdown-repro

Relevant log output

No response

@danharrin
Copy link
Member

Duplicate of #5707, Choices-js/Choices#1080

@danharrin danharrin closed this as not planned Won't fix, can't repro, duplicate, stale Jan 15, 2024
@github-project-automation github-project-automation bot moved this from Todo to Done in Roadmap Jan 15, 2024
@danharrin
Copy link
Member

Using tabs to navigate between fields should work fine

@dks-adaptdigital
Copy link
Author

Apologies @danharrin I missed this when scanning through previous issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working low priority unconfirmed
Projects
Archived in project
Development

No branches or pull requests

2 participants