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 field options do not appear when creating new resource #6162

Closed
rklugman opened this issue Jan 23, 2024 · 2 comments
Closed
Labels
needs more info More information is required stale

Comments

@rklugman
Copy link

rklugman commented Jan 23, 2024

  • Laravel Version: 10.41.0
  • Nova Version: 4.32.11
  • PHP Version: 8.2
  • Database Driver & Version:
  • Operating System and Version: Linux
  • Browser type and version: Chrome 120.0.6
  • Reproduction Repository: https://github.com/###/###

Description:

There seems to be an issue with Select fields with option searchable but only when creating a new resource. When you initially drop down the select, no options are presented even though there are options. Pressing enter selects the first available option and thereafter options are visible. I can see from inspecting the DOM, that elements are there, but they just don't appear.

2024-01-22 15 25 32

Detailed steps to reproduce the issue on a fresh Nova installation:

Select::make('Some field', 'some_field')
    ->filterable()
    ->searchable()
    ->options(['value1', 'value2'])
@crynobone crynobone added the pending Issues that are pending triage label Feb 12, 2024
@crynobone
Copy link
Member

Unable to reproduce the issue with latest version, please provide full reproducing repository based on fresh installation as suggested in the bug report template (or you can refer to https://github.com/nova-issues for example)

@crynobone crynobone added needs more info More information is required and removed pending Issues that are pending triage labels Feb 25, 2024
Copy link

stale bot commented Mar 17, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Mar 17, 2024
@crynobone crynobone closed this as not planned Won't fix, can't repro, duplicate, stale Mar 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs more info More information is required stale
Projects
None yet
Development

No branches or pull requests

2 participants