ayctor/table-field

A Laravel Nova field.

Installs: 6 368

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 6

Forks: 2

Open Issues: 3

Language:Vue

1.0.9 2021-01-19 11:15 UTC

This package is auto-updated.

Last update: 2024-12-25 02:12:33 UTC


README

A Laravel Nova field.

Installation

composer require ayctor/table-field

Usage

The field return a JSON value.

use Ayctor\TableField\Table;

return [
    Table::make('Table', 'table')
        ->stacked()
        ->rows(4)
        ->columns(4)
        ->headers([
            'Lorem ipsum',
            'Lorem ipsum',
            'Lorem ipsum',
        ])
        ->addRowButtonLabel('Add')
        ->addColumnButtonLabel('Add')
        ->removeRowButtonLabel('Remove')
        ->removeColumnButtonLabel('Remove'),
    ];

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

License

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