This repository has been archived by the owner on Jul 26, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 8
Fields
Mattias edited this page Oct 13, 2020
·
1 revision
Tab Fields is more or less an autobuilder, define your input types and it will generate a table with all your inputs.
Type (Required) | Label | Name | Class | Description | Tooltip |
---|---|---|---|---|---|
text | string (Optional) | string (Required) | string (Optional) | text (Optional) | text (Optional) |
Example
[
'type' => 'text',
'label' => '',
'name' => '' ,
'class' => '',
'description' => '',
'tooltip' => ''
]
Type (Required) | Label | Name | Class | Description |
---|---|---|---|---|
color | string (Optional) | string (Required) | string (Optional) | text (Optional) |
Example
[
'type' => 'color',
'label' => '',
'name' => '',
'class' => '',
'description' => ''
]
Type (Required) | Label | Name | Options | Class | Description | Tooltip |
---|---|---|---|---|---|---|
select | string (Optional) | string (Required) | array (Required) | string (Optional) | text (Optional) | text (Optional) |
Example
[
'type' => 'select',
'label' => '',
'name' => '' ,
'options' => array('key' => 'name'),
'class' => '',
'description' => '',
'tooltip' => ''
]
Type (Required) | Label | Name | Options | Description |
---|---|---|---|---|
radio | string (Optional) | string (Required) | array (Required) | text (Optional) |
Example
[
'type' => 'radio',
'label' => '',
'name' => '' ,
'options' => array('key' => 'name'),
'description' => ''
]
Type (Required) | Label | Name | Text | Value | Description |
---|---|---|---|---|---|
checkbox | string (Optional) | string (Required) | string (Required) | string (Required) | text (Optional) |
Example
[
'type' => 'checkbox',
'label' => '',
'name' => '',
'text' => '',
'value' => 1,
'description' => ''
]
Type (Required) | Label | Name | Value | Description | Tooltip |
---|---|---|---|---|---|
checkbox | string (Optional) | string (Required) | string (Required) | text (Optional) | text (Optional) |
Example
[
'type' => 'toggle',
'label' => '',
'name' => '',
'value' => 1,
'description' => '',
'tooltip' => ''
]
Type (Required) | Label | Name | Class | Description |
---|---|---|---|---|
fa | string (Optional) | string (Required) | string (Optional) | text (Optional) |
Example
[
'type' => 'fa',
'label' => '',
'name' => '' ,
'class' => '',
'description' => ''
]
Type (Required) | Label | Name | Class | Preview | Description |
---|---|---|---|---|---|
file | string (Optional) | string (Required) | string (Optional) | boolean (Optional) | text (Optional) |
Example
[
'type' => 'file',
'label' => '',
'name' => '',
'class' => '',
'preview' => false,
'description' => ''
]