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 gets 'meta' as search input when you unfocus the page #13966

Open
Danoctum opened this issue Aug 16, 2024 · 0 comments
Open
Labels
Milestone

Comments

@Danoctum
Copy link

Danoctum commented Aug 16, 2024

Package

filament/filament

Package Version

v3.2.92

Laravel Version

v10.48.15

Livewire Version

v3.5.2

PHP Version

PHP 8.2.19

Problem description

When I make a component like this:
Forms\Components\Select::make('test') ->searchable() ->options(['test' => 'test'])

And when I open the dropdown, type nothing, and go to another application (using alt + tab or cmd + tab for example) the search fields gets 'meta' as an input.

Expected behavior

I'd expect the searchfield to stay empty.

Steps to reproduce

  • Create a form with the select component that is searchable in a modem. (it's important that it's the first focused item you get when you hit tab)
  • Hit tab + command
  • See that the dropdown opens and the search field has 'meta' in it.
  • Doing it again and again will keep appending 'meta'
image

Reproduction repository (issue will be closed if this is not valid)

https://github.com/filamentphp/demo

Relevant log output

No response

Donate 💰 to fund this issue

  • You can donate funding to this issue. We receive the money once the issue is completed & confirmed by you.
  • 100% of the funding will be distributed between the Filament core team to run all aspects of the project.
  • Thank you in advance for helping us make maintenance sustainable!
Fund with Polar
@Danoctum Danoctum added bug Something isn't working medium priority unconfirmed labels Aug 16, 2024
@danharrin danharrin added this to the v3 milestone Aug 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Todo
Development

No branches or pull requests

2 participants