Trait Multiple
Trait for classes:
- \MvcCore\Ext\Forms\Fields\Email
- \MvcCore\Ext\Forms\Fields\File
- \MvcCore\Ext\Forms\Fields\Range
- \MvcCore\Ext\Forms\Fields\Select
- \MvcCore\Ext\Forms\Fields\CountrySelect
- \MvcCore\Ext\Forms\Validators\Files
- \MvcCore\Ext\Forms\Validators\Range
- \MvcCore\Ext\Forms\Validators\ValueInOptions
Methods summary
public
boolean
|
#
GetMultiple( )
If control is <input> with type as file or email ,
this Boolean attribute indicates whether the user can enter
more than one value.
If control is <input> with type as range , there are
rendered two connected sliders (range controls) as one control
to simulate range from and range to. Result value will be array.
If control is <select> , this Boolean attribute indicates
that multiple options can be selected in the list. When
multiple is specified, most browsers will show a scrolling
list box instead of a single line drop down.
If control is <input> with type as file or email ,
this Boolean attribute indicates whether the user can enter
more than one value.
If control is <input> with type as range , there are
rendered two connected sliders (range controls) as one control
to simulate range from and range to. Result value will be array.
If control is <select> , this Boolean attribute indicates
that multiple options can be selected in the list. When
multiple is specified, most browsers will show a scrolling
list box instead of a single line drop down.
Returns
boolean
See
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-multiple
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select#attr-multiple
|
public
MvcCore\Ext\Forms\Field
|
#
SetMultiple( boolean $multiple = TRUE )
If control is <input> with type as file or email ,
this Boolean attribute indicates whether the user can enter
more than one value.
If control is <input> with type as range , there are
rendered two connected sliders (range controls) as one control
to simulate range from and range to. Result value will be array.
If control is <select> , this Boolean attribute indicates
that multiple options can be selected in the list. When
multiple is specified, most browsers will show a scrolling
list box instead of a single line drop down.
If control is <input> with type as file or email ,
this Boolean attribute indicates whether the user can enter
more than one value.
If control is <input> with type as range , there are
rendered two connected sliders (range controls) as one control
to simulate range from and range to. Result value will be array.
If control is <select> , this Boolean attribute indicates
that multiple options can be selected in the list. When
multiple is specified, most browsers will show a scrolling
list box instead of a single line drop down.
Parameters
Returns
See
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-multiple
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select#attr-multiple
|
Properties summary
protected
boolean|null
|
$multiple
If control is <input> with type as file or email ,
this Boolean attribute indicates whether the user can enter
more than one value.
If control is <input> with type as range , there are
rendered two connected sliders (range controls) as one control
to simulate range from and range to. Result value will be array.
If control is <select> , this Boolean attribute indicates
that multiple options can be selected in the list. When
multiple is specified, most browsers will show a scrolling
list box instead of a single line drop down.
If control is <input> with type as file or email ,
this Boolean attribute indicates whether the user can enter
more than one value.
If control is <input> with type as range , there are
rendered two connected sliders (range controls) as one control
to simulate range from and range to. Result value will be array.
If control is <select> , this Boolean attribute indicates
that multiple options can be selected in the list. When
multiple is specified, most browsers will show a scrolling
list box instead of a single line drop down.
See
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-multiple
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select#attr-multiple
|
|