Download the PHP package armincms/nova-tab without Composer
On this page you can find all versions of the php package armincms/nova-tab. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package nova-tab
Nova Tab
Field's Grouping by the tab.
Table of Contents
- Install
- Quick Start
- Usage
- Multiple Tabs
- Using With Panel
- Relations
- Missed Tabs
Install
Quick Start
First create your tab like follow.
Then, to insert each field into the created tab; pass the name and the group name
into the withTab macro method.for example:
Usage
First create your tab like follow. Then; for define tab field's, you can use the group method.
Ative Tab:
By default we'll active the first tab. if you want customize the active tab,
it's availabe by call the active method on the tab group.
Tab Label
It's possible to customize the tab label's by passing the label string through the
label method on the group.
Full Width Tab
If you want jsutify the tab for fill screen; you can call fullWidth method on the Tab::class
Attention 1: you can add any field and relation-field into the tab.
Attention 2: it's impossible to add Panel into the tab.
Attention 3: It's possible to add the tab into the Panel.
-
base example:
- Fullwidth tab example:
Multiple Tabs
You can add multiple tab into form and detail page.
for this situation; just needs making different name for different tabs.
Attention 1: You can't add samerelation-field in different tabs.it just work with one of them.
Using With Panel
You can add tab into Panel but you never can add Panel into tab.
Relations
Missed Tabs
If some fields missing in the tab, with macro method withTab you can add the
missed field into the tab. like following example: