Download the PHP package clevel/nova-prepopulate-searchable without Composer
On this page you can find all versions of the php package clevel/nova-prepopulate-searchable. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download clevel/nova-prepopulate-searchable
More information about clevel/nova-prepopulate-searchable
Files in clevel/nova-prepopulate-searchable
Package nova-prepopulate-searchable
Short Description A tool to allow BelongsTo searchable fields to be pre-populated with data
License MIT
Homepage https://github.com/C-Level/nova-prepopulate-searchable
Informations about the package nova-prepopulate-searchable
A tool to allow BelongsTo searchable fields to be pre-populated with data
Note
This package is incompatible with Create or add package. The Mainteners are no longer interested so i fixed both and will.
Installation
You can install the package in to a Laravel app that uses Nova via composer:
Usage
On any BelongsTo fields in your resources that are searchable(), you can also add prepopulate() to the method chain and the field will be prepopulated with values to choose from.
You may optionally pass through a search query to the prepopulate method, and the keywords passed will be used for the search initially, before resetting the search to being empty (as it currently is).

Credits
- Alex Bowers
- Mustafa TOKER
- Burak TEKİN
- Mustafa DEMİR
- Salih KANDEMİR
License
The MIT License (MIT). Please see License File for more information.