Download the PHP package gabrielesbaiz/nova-ajax-select without Composer
On this page you can find all versions of the php package gabrielesbaiz/nova-ajax-select. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download gabrielesbaiz/nova-ajax-select
More information about gabrielesbaiz/nova-ajax-select
Files in gabrielesbaiz/nova-ajax-select
Package nova-ajax-select
Short Description Ajax select / child select package for Laravel Nova.
License MIT
Homepage https://github.com/gabrielesbaiz/nova-ajax-select
Informations about the package nova-ajax-select
NovaAjaxSelect
Ajax select / child select package for Laravel Nova.
Original code from alexwenzel/nova-ajax-select
Features
- ✅ Ajax populated select fields based on the values of other fields and when they change
Installation
You can install the package via composer:
Usage
Specify a request url & optionally the parent($attribute)
to watch & trigger the ajax select:
Add the field for index & detail views display. NovaAjaxSelect is for forms only
Request Url:
In the above example, we say company
is the parent.
The {company}
url parameter will equal the selected Company
field value.
Response Format:
The select field expects a value
& display
. Map your results like so:
Make children depend on other children
City
makes a request based on State
, which makes a request based on Country
:
Make multiple children depend on one parent
File
& Comment
will both make a request based on Project
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
- alexwenzel
- dillingham
- Gabriele Sbaiz
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of nova-ajax-select with dependencies
spatie/laravel-package-tools Version ^1.16
illuminate/contracts Version ^10.0||^11.0||^12.0
laravel/nova Version ^4.0