yajra / laravel-datatables-editor

Laravel DataTables Editor Integration.
https://yajrabox.com/docs/laravel-datatables/editor-installation
MIT License
114 stars 15 forks source link

Enable search in editor with select make #83

Closed markplus closed 7 months ago

markplus commented 1 year ago

I created a column where when I create a new article I have a selection menu with the select in this way, but I also wanted to have the possibility of searching soas not to scroll through the list but how can I integrate it?

return $this->builder()
                    ->setTableId('users-table')
                    ->columns($this->getColumns())
                    ->minifiedAjax()
                    ->orderBy(0)
                    ->selectStyleSingle()
                    ->editors([
                        Editor::make()
                        ->fields([
                            Fields\Text::make('descrizione'),
                            Select::make('users')->options(['','name',name2','name3','name4']),

-->

when I click again in the editor I have the list of names but I can't search for a name I have to scroll through the list, how do I enable the search?

Operating System linux PHP Version 8.2 Laravel Version 10.10 Laravel-DataTables Version 10.1

github-actions[bot] commented 7 months ago

This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] commented 7 months ago

This issue was closed because it has been inactive for 7 days since being marked as stale.