Documentation

Select extends Component
in package

Table of Contents

$class  : string
$hint  : string|null
$icon  : string
$id  : string
$label  : string|null
$multiple  : bool
$name  : string
$options  : mixed
$placeholder  : mixed
$value  : string|null
__construct()  : mixed
Create a new component instance.
render()  : View|string
Get the view / contents that represent the component.

Properties

$hint

public string|null $hint = null

$label

public string|null $label = null

$placeholder

public mixed $placeholder = null

$value

public string|null $value = null

Methods

__construct()

Create a new component instance.

public __construct(string $name[, mixed $options = [] ][, string $value = null ][, string $id = null ][, bool $label = null ][, mixed $placeholder = 'Select' ][, bool $icon = 'dropdown' ][, bool $multiple = false ][, string $classes = null ][, string $hint = null ][, bool $sort = false ]) : mixed
Parameters
$name : string
$options : mixed = []
$value : string = null
$id : string = null
$label : bool = null
$placeholder : mixed = 'Select'
$icon : bool = 'dropdown'
$multiple : bool = false
$classes : string = null
$hint : string = null
$sort : bool = false
Return values
mixed

render()

Get the view / contents that represent the component.

public render() : View|string
Return values
View|string

Search results