\FormBuilder\traits\formFormInputTrait

Class FormInputTrait

Summary

Methods
Properties
Constants
input()
text()
password()
textarea()
url()
email()
idate()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

input()

input(  $field,   $title, string  $value = '', string  $type = \FormBuilder\components\Input::TYPE_TEXT) : \FormBuilder\components\Input

获取input组件

Parameters

$field
$title
string $value
string $type

Returns

\FormBuilder\components\Input

text()

text(  $field,   $title, string  $value = '') : \FormBuilder\components\Input

Parameters

$field
$title
string $value

Returns

\FormBuilder\components\Input

password()

password(  $field,   $title, string  $value = '') : \FormBuilder\components\Input

Parameters

$field
$title
string $value

Returns

\FormBuilder\components\Input

textarea()

textarea(  $field,   $title, string  $value = '') : \FormBuilder\components\Input

Parameters

$field
$title
string $value

Returns

\FormBuilder\components\Input

url()

url(  $field,   $title, string  $value = '') : \FormBuilder\components\Input

Parameters

$field
$title
string $value

Returns

\FormBuilder\components\Input

email()

email(  $field,   $title, string  $value = '') : \FormBuilder\components\Input

Parameters

$field
$title
string $value

Returns

\FormBuilder\components\Input

idate()

idate(  $field,   $title, string  $value = '') : \FormBuilder\components\Input

Parameters

$field
$title
string $value

Returns

\FormBuilder\components\Input