DynamicSelect
extends Component
in package
Table of Contents
- $child : string
- $class : string
- $hint : string|null
- $icon : string|null
- $id : string
- $label : string|null
- $name : string
- $options : mixed
- $placeholder : string|null
- $route : mixed
- $value : string|null
- __construct() : mixed
- Create a new component instance
- render() : View|string
- Get the view / contents that represent the component.
Properties
$child
public
string
$child
$class
public
string
$class
$hint
public
string|null
$hint
= null
$icon
public
string|null
$icon
= null
$id
public
string
$id
$label
public
string|null
$label
= null
$name
public
string
$name
$options
public
mixed
$options
$placeholder
public
string|null
$placeholder
= null
$route
public
mixed
$route
$value
public
string|null
$value
= null
Methods
__construct()
Create a new component instance
public
__construct(string $name, mixed $route, string $child[, mixed $options = [] ][, string $value = null ][, string $id = null ][, mixed $label = null ][, string $classes = null ][, string $placeholder = 'Select' ][, string $hint = null ][, string $icon = null ]) : mixed
Parameters
- $name : string
- $route : mixed
- $child : string
- $options : mixed = []
- $value : string = null
- $id : string = null
- $label : mixed = null
- $classes : string = null
- $placeholder : string = 'Select'
- $hint : string = null
- $icon : string = null
Return values
mixed —render()
Get the view / contents that represent the component.
public
render() : View|string