Download the PHP package hosnyben/nova-nested-inputs without Composer
On this page you can find all versions of the php package hosnyben/nova-nested-inputs. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download hosnyben/nova-nested-inputs
More information about hosnyben/nova-nested-inputs
Files in hosnyben/nova-nested-inputs
Package nova-nested-inputs
Short Description Nova Nested Fields is a Laravel Nova field package that allows users to present their checkboxes or radio buttons in a nested, hierarchical structure. This package supports infinite nesting levels, providing a flexible solution for complex form requirements.
License MIT
Informations about the package nova-nested-inputs
Nova Nested Inputs
Nova Nested Fields is a Laravel Nova field package that allows users to present their checkboxes or radio buttons in a nested, hierarchical structure. This package supports infinite nesting levels, providing a flexible solution for complex form requirements.
Requirements
php: >=7.3
laravel/nova: ^4.26
Demo
Nested radios input
Nested checkbox input
Features
- Infinite nesting of checkbox/radio fields.
- Easy integration with existing Laravel Nova projects.
- Customizable display and styling options.
- Supports dynamic addition and removal of nested items.
- Intuitive user interface for managing nested selections.
Installation
To install the Nova Nested Fields package, use Composer:
Usage
Now you can use the NovaNestedInputs Field with Nova. Make the NovaNestedInputs in the fields
method like any other field in a Resource
.
Example
Settings
Option | Type | Description | Default |
---|---|---|---|
type | String | You define either a checkbox or radio |
radio |
color | String | You define the CSS supported color. It may be a hex color or rgb() or rgba() |
#be860f |
options | function() or multi-dimensional Array[]. It must respect the payload. | You can define infinte loop of nested items. You may use a function if you're looking to load dynamic values of load your Eloquent model into. | array() |
"options" field structure
License
Nova Nested Inputs is open-sourced software licensed under the MIT license.
Author
Made with ❤️ by Hosny BEN