Download the PHP package chinleung/nova-autofill without Composer
On this page you can find all versions of the php package chinleung/nova-autofill. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download chinleung/nova-autofill
More information about chinleung/nova-autofill
Files in chinleung/nova-autofill
Package nova-autofill
Short Description Autofill values for Laravel Nova fields based on the parent model on creation.
License MIT
Homepage https://github.com/chinleung/nova-autofill
Informations about the package nova-autofill
Nova Autofill
Auto prefill values for Laravel Nova fields based on the parent model.
Installation
You can install the package via composer:
Usage
If your model has a relationship, it can autofill some values when adding via a relationship in Laravel Nova. For instance, an order that belongs to a user, you can autofill the user's address when adding a new order via the user resource.
If no attribute is passed in the method, it will use the field's attribute name to fetch from the parent resource. However, you can specify the attribute to fill from:
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- Chin Leung
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of nova-autofill with dependencies
laravel/nova Version *
illuminate/support Version ^5.6|^6.0|^7.0|^8.0|^9.0