SelectOption
Class SelectOption
Output
No output provided yet
Twig Tag
- Tag
UISelectOption
- Syntax
{% UISelectOption Type {Parameters} %}
- Type
No comment |
SelectOption ForSelectOption
- syntax
{% UISelectOption ForSelectOption {sValue:'value', sLabel:'value', bSelected:true, sId:'value'} %}
- parameters
sValue |
string |
mandatory |
||
sLabel |
string |
mandatory |
||
bSelected |
bool |
mandatory |
||
sId |
string |
optional |
NULL |
SelectOption 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 |
|
AddHtml |
string |
|
AddJsFileRelPath |
string |
|
AddMultipleCssFilesRelPaths |
array |
|
AddMultipleJsFilesRelPaths |
array |
|
CSSClasses |
array |
like <code>[‘ibo-is-hidden’, ‘ibo-alert–body’]</code> |
DataAttributes |
array |
Array of data attributes in the format [‘name’ => ‘value’] |
Disabled |
bool |
|
IsHidden |
bool |
|
Label |
string |
|
Selected |
bool |
|
Value |
string |
Examples
No examples provided yet