koss-shtukert / laravel-nova-select2-auto-complete

Laravel Nova Select2 Auto-Complete
https://novapackages.com/packages/koss-shtukert/laravel-nova-select2-auto-complete
MIT License
38 stars 11 forks source link

Not working on Laravel Nova V4 #45

Open interpegasus opened 2 years ago

interpegasus commented 2 years ago

Hi, I would like to know how to debug or what might cause the following error on the console? The form itself does not show the Tag field. Thanks in advance.

    public function fields(NovaRequest $request)
    {
        $tags = \App\Models\Tag::all()->pluck('tag', 'id');
        return [
            ID::make()->sortable(),
            Select2::make('Tag', 'tag')->options($tags)->configuration(['multiple' => false]),
        ];
    }
select
gulyavcevvv commented 2 years ago

+

erashdan commented 2 years ago

+1

jmverges commented 1 year ago

+1