alexbowers / nova-prepopulate-searchable
A tool to allow BelongsTo searchable fields to be pre-populated with data
Installs: 118 606
Dependents: 0
Suggesters: 0
Security: 0
Stars: 27
Watchers: 2
Forks: 6
Open Issues: 15
Language:Vue
Requires
- php: >=7.1.0
- laravel/nova: >=1.0.13
This package is auto-updated.
Last update: 2020-09-02 11:59:49 UTC
README
This is where your description should go. Try and limit it to a paragraph or two.
Add a screenshot of the tool here.
Installation
You can install the package in to a Laravel app that uses Nova via composer:
composer require alexbowers/nova-prepopulate-searchable
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).
Security
If you discover any security related issues, please email bowersbros@gmail.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.