3.2 More Inputs - joserick/laravel-bootstrap-4-forms GitHub Wiki
Inputs
Basic inputs (text, textarea, select...) to here.
File
| Param |
Type |
Default |
Description |
| $name |
string |
null |
Input name |
| $label |
string |
null |
Input label |
// Example
{!!Form::file('doc', 'Document')!!}
Date inputs
| Param |
Type |
Default |
Description |
| $name |
string |
null |
Input name |
| $label |
string |
null |
Input label |
| $default |
string |
null |
Default value |
// Example
{!!Form::date('birthday', 'Birthday')!!}
Time inputs
| Param |
Type |
Default |
Description |
| $name |
string |
null |
Input name |
| $label |
string |
null |
Input label |
| $default |
string |
null |
Default value |
// Example
{!!Form::time('hour', 'Meeting hour')!!}
Url inputs
| Param |
Type |
Default |
Description |
| $name |
string |
null |
Input name |
| $label |
string |
null |
Input label |
| $default |
string |
null |
Default value |
// Example
{!!Form::urlInput('website', 'You website')!!}
Range inputs
| Param |
Type |
Default |
Description |
| $name |
string |
null |
Input name |
| $label |
string |
null |
Input label |
| $default |
string |
null |
Default value |
// Example
{!!Form::range('name', 'User name')!!}
Hidden
| Param |
Type |
Default |
Description |
| $name |
string |
null |
Input name |
| $default |
string |
null |
Default value |
// Example
{!!Form::hidden('user_id')!!}