nova-issues icon indicating copy to clipboard operation
nova-issues copied to clipboard

Searchable Select Field in Nova Action Modal Shifts Focus to First Field After Selection

Open naranarethiya opened this issue 8 months ago • 2 comments

  • Laravel Version: 10.48.11
  • Nova Version: 4.34.2
  • PHP Version: 8.1.27
  • Database Driver & Version: mysql
  • Issue repo - https://github.com/naranarethiya/issue-6408
  • Browser type and version: Google Chrome 125.0.6422.77 (Official Build) (64-bit)

Description:

When using a searchable select field in an action form on a resource, selecting an option from the dropdown causes the focus to shift from the select box to the first field in the form.

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

  • Create new admin user and login nova interface with that
  • Goto nova/resources/users and select anyone user
  • Click on Email Account Profile from action dropdown
  • Enter some random text in the Title field.
  • Use the mouse to select an item from the Select box(any selection from action form).
  • Notice that the focus shifts from the Select box to the Title field.

naranarethiya avatar May 28 '24 11:05 naranarethiya