nova-searchable-select
nova-searchable-select copied to clipboard
A searchable Select Field for Laravel Nova
Would be nice if the withSubtitles() feature from the default belongsTo Field would be possible.
Is there a way I can filter out certain items from search. For example I'm making the select in such way that the user can select "Discounted products" and I...
Your field uses by default the `title` attribute: ``` // Defaults to the static $title attribute of the resource class ``` but you should respect the nova `title` method as...
It would be a great addition to your field. For example, to save time creating a linked resource and returning.
How can I show all records without need searching, so the user can see what records there are?
Support label and prefixLabel relationship call. Example : `->label('translate.title')->labelPrefix('translate.id')`
I created resource with field Avatar::make('thumb') and select doesn't show any avatars, but if i will change it to Avatar::make('avatar') it works well.
Hey, thanks for this great field. I have a question regarding the labelprefix. I use this as a way to show a relation owner in an Action: ``` SearchableSelect::make(__('Project'), 'id')...
I try to use it on Resource Action. I declared it as follow: ``` return [ SearchableSelect::make("User", "user")->resource(\App\Nova\User::class), ]; ``` When i handle submited action, i dump ```$fields``` and the...