Skip to content

BelongsTo or Select with searchable() does not work in action modal #6401

Closed
@jonnigg

Description

@jonnigg
  • Laravel Version: ^8.78
  • Nova Version: 4.33.3
  • PHP Version: 8.0
  • Database Driver & Version: Postgres
  • Operating System and Version: MacOS 13.4.1
  • Browser type and version: Brave version 1.65.130 using Chromium 124.0.6367.159

Description:

When using BelongsTo::make()->searchable() or Select::make()->searchable() in the fields function of an action the searchable input box is will not become focusable (won't allow text input). As a result. The search functionality does not work. The searchable() functionality does work in normal forms however. It seems that this issue is limited to being used in the modal that is presented when running actions. I have attached a few screenshots below.

FWIW - It almost feels like a z-index issue such that the input is behind some other element.

I am using the following:
Nova: v4.33.3 (Silver Surfer)

Screenshots:
image

image

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

Created simple action and added copy pasted the Select example code form the documentation but added searchable()

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions