techouse / select-auto-complete

An auto-completing Laravel Nova search field
MIT License
31 stars 17 forks source link

The select doesnt show up #18

Open meyer59 opened 4 years ago

meyer59 commented 4 years ago

Hi I am trying to use the package but the select doesnt show up. Here is a screenshot of the issue image I am under Laravel 7.28.0 / Nova v3.12.0 Thank you for your help

techouse commented 4 years ago

I just checked and it works just fine for me.

Can you provide some more info?

meyer59 commented 4 years ago

Do you have the above errors in your Console ? I have followed the installation setup. In my Action i am defining the Field like that: SelectAutoComplete::make('Equipement', 'equipment_id') ->options(PlayerEquipment::whereNull('player_id')->orderBy('mac_address')->pluck('mac_address', 'id')->all()) ->displayUsingLabels() ->rules(Rule::exists('player_equipment', 'id')->whereNull('player_id')), I just replaced the nova Select field by the SelectAutoComplete. Is there anything else to do after the installation, like publishing asset, providers etc ? Have you tried unde Nova v3.12.0 and Laravel 7.28.0 ? Thank you for your help