arsenaltech / nova-header

Laravel Nova Header

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Laravel Nova Header Total Downloads

Custom Nova field to add field header when using tabs https://github.com/arsenaltech/nova-tab

Installation

Install the package into a Laravel app that uses Nova with Composer:

composer require arsenaltech/nova-header

Usage

Add the field to your resource in the fields method:

new NovaTab('User Information', [
            NovaHeader::make('Example Title'),
            Text::make('Name')
                ->sortable()
                ->rules('required', 'max:255'),
            Text::make('Email')
                ->sortable()
                ->rules('required', 'email', 'max:255')
                ->creationRules('unique:users,email')
                ->updateRules('unique:users,email,{{resourceId}}')]),
new NovaTab('Address Information', $this->addressFields()),
new NovaTab('Other Information', $this->otherFields()),

About

Laravel Nova Header


Languages

Language:Vue 41.2%Language:PHP 40.5%Language:JavaScript 17.7%Language:CSS 0.6%