alexbowers/nova-prepopulate-searchable

This package is abandoned and no longer maintained. The author suggests using the genealabs/nova-prepopulate-searchable package instead.

A tool to allow BelongsTo searchable fields to be pre-populated with data

v1.0.1 2018-09-06 20:24 UTC

README

Latest Version on Packagist Quality Score Total Downloads

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).

Prepopulate Search

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.