Closed piljac1 closed 2 years ago
When you add a searchable select to an action's fields method, it doesn't close on click outside when the select is displayed.
fields
/** * Get the fields available on the action. * * @param \Laravel\Nova\Http\Requests\NovaRequest $request * @return \Laravel\Nova\Fields\Field[] */ public function fields(NovaRequest $request) { return [ Select::make('Site', 'site_id') ->options([ 1 => 'Site 1', 2 => 'Site 2', ]) ->displayUsingLabels() ->nullable() ->searchable(), ]; }
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Description:
When you add a searchable select to an action's
fields
method, it doesn't close on click outside when the select is displayed.Detailed steps to reproduce the issue on a fresh Nova installation:
fields
method below