techouse / select-auto-complete

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

Not working with latest releases #2

Closed yehudahkay closed 5 years ago

yehudahkay commented 5 years ago

Hi I've tried this with laravel 5.8 and nova 2.0, the field isn't generated correctly and display is incorrect

techouse commented 5 years ago

Thanx for reporting. I had yet no chance to test it on Laravel 5.8 with Nova 2.0. Will check it today, hopefully.

techouse commented 5 years ago

Hey, I just checked with a vanilla install of Laravel 5.8.4 and Nova 2.0.0 and it works just fine. Can you elaborate on your problem a bit more?

yehudahkay commented 5 years ago

It fails in the index view with data like this

'{"role":"auditor"}' => 'Auditor', '{"role":"derm_auditor"}' => 'Dermatology Auditor',

techouse commented 5 years ago

Have you tried using simple keys instead of JSON strings?

yehudahkay commented 5 years ago

I dont know Im sorry, in this package he fixed for me "koss-shtukert/laravel-nova-select2-auto-complete": "^1.11",