Download the PHP package lupennat/items without Composer
On this page you can find all versions of the php package lupennat/items. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package items
- Requirements
- Installation
- Usage
- Validation
- Additional options
- Credits
Requirements
php: ^7.4 | ^8
laravel/nova: ^4
Installation
Usage
Laravel Nova array items field with sorting, validation & many display options
and be sure to cast the property as an array on your eloquent model
Validation
Use Laravel's built in array validation
Manually setting the attribute may be needed in some cases.
Additional options
function | description | default |
---|---|---|
->max(number) |
limit number of items allowed | false |
->draggable() |
turn on drag/drop sorting | false |
->onlyDraggable() |
turn on drag/drop sorting and off add,delete,editing | false |
->inputType(text) |
text, date, etc (support "select") | "text" |
->placeholder($value) |
the new item input text | "Add a new item" |
->actionText($value) |
value for create button | "Add" |
->disableAddingRows() |
hide the "add" button | false |
->disableDeletingRows() |
hide the "delete" button | false |
->disableEditingRows() |
input on readonly mode | false |
->displayAsList() |
display list on index as list instead of comma separated values | "group" |
Credits
Items field is based on Nova Items Field.
All versions of items with dependencies
PHP Build Version
Package Version
The package lupennat/items contains the following files
Loading the files please wait ....