Select

Class Select


Output

No output provided yet


Twig Tag

Tag

UISelect

Syntax

{% UISelect Type {Parameters} %}
    Content Goes Here
{% EndUISelect %}
Type

ForSelect

Create a default Select input

ForSelectWithLabel

Create a Select input with a label

Select ForSelect

syntax

{% UISelect ForSelect {sName:'value', sId:'value'} %}
    Content Goes Here
{% EndUISelect %}
parameters

sName

string

mandatory

Input name for the form

sId

string

optional

NULL

ID of the block

Select ForSelectWithLabel

syntax

{% UISelect ForSelectWithLabel {sName:'value', sLabel:'value', sId:'value'} %}
    Content Goes Here
{% EndUISelect %}
parameters

sName

string

mandatory

Input name for the form

sLabel

string

mandatory

Label to display with the input (null for no label)

sId

string

optional

NULL

ID of the block

Select common parameters

AddCSSClass

string

CSS class to add to the generated html block

AddCSSClasses

array

like <code>[‘ibo-is-hidden’, ‘ibo-alert–body’]</code>

AddCssFileRelPath

string

AddDeferredBlock

iUIBlock

AddHtml

string

AddJsFileRelPath

string

AddMultipleCssFilesRelPaths

array

AddMultipleJsFilesRelPaths

array

AddOption

SelectOption

Select option UIBlock

AddSubBlock

iUIBlock

CSSClasses

array

like <code>[‘ibo-is-hidden’, ‘ibo-alert–body’]</code>

DataAttributes

array

Array of data attributes in the format [‘name’ => ‘value’]

DeferredBlocks

array

Description

string

HasForcedDiv

bool

IsHidden

bool

IsLabelBefore

bool

If true the label will be positioned before the input

IsMultiple

bool

Allow multiple selection

Label

string

Label to display with the input (null for no label)

Name

string

Input name for the form

SubBlocks

array

SubmitOnChange

bool

if true submit the form as soon as a change is detected


Examples

No examples provided yet