Skip to content

Component.Form Select

xandor edited this page Oct 17, 2017 · 3 revisions
    @component('bsComp::form-select', [
        'options' => [ 
            'value1' => 'label1', 
            'value2' => 'label2' 
        ],
        
    ])
       @slot('placeholder', 'info@example.org')
    @endcomponent

Parameters

Parameter Type Description
name string name of the input
options array array of key value pairs with value => label
placeholder string Label for an optional empty-value
class string additional css classes
style string additional css styles
id string html id

Slot

Slot Description
Default current value

Home

Components

Custom Components

Clone this wiki locally