Skip to content

Component.Form Input

xandor edited this page Oct 17, 2017 · 3 revisions
    @component('bsComp::form-input', ['type' => 'email', 'name' => 'user_email'])
       @slot('placeholder', '[email protected]')
    @endcomponent

Parameters

Parameter Type Description
name string name of the input
type string one of the following values: any supported type, text (default)
class string additional css classes
style string additional css styles
id string html id

Slot

Slot Description
Default value
placeholder placeholder

Home

Components

Custom Components

Clone this wiki locally