LaravelPackages.net
Acme Inc.
Toggle sidebar
clevel/nova-prepopulate-searchable

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

252
0
v1.0.5
About clevel/nova-prepopulate-searchable

clevel/nova-prepopulate-searchable is a Laravel package for a tool to allow belongsto searchable fields to be pre-populated with data. It currently has 0 GitHub stars and 252 downloads on Packagist (latest version v1.0.5). Install it with composer require clevel/nova-prepopulate-searchable. Discover more Laravel packages by clevel or browse all Laravel packages to compare alternatives.

Last updated

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

Latest Version on Packagist Quality Score Total Downloads

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:

composer require mustafatoker/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

Credits

License

The MIT License (MIT). Please see License File for more information.

Star History Chart