Skip to content

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

License

Notifications You must be signed in to change notification settings

puviz/nova-prepopulate-searchable

 
 

Repository files navigation

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

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.

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Vue 90.2%
  • PHP 6.7%
  • JavaScript 3.1%