Files
iTop/.doc/UI/source/generated/Component/Input/Select/Select.rst
2021-05-28 17:28:12 +02:00

95 lines
4.8 KiB
ReStructuredText

.. Copyright (C) 2010-2021 Combodo SARL
.. http://opensource.org/licenses/AGPL-3.0
Select
======
Class Select
----
.. include:: /manual/Component/Input/Select/SelectAdditionalDescription.rst
----
Twig Tag
--------
:Tag: **UISelect**
:Syntax:
::
{% UISelect Type {Parameters} %}
Content Goes Here
{% EndUISelect %}
:Type:
+--------------------+------------------------------------------------------------------------------------------------+
| ForSelect | @param string $sName |
+--------------------+------------------------------------------------------------------------------------------------+
| ForSelectWithLabel | If you need to have a real field with a label, you might use a {@link Field} component instead |
+--------------------+------------------------------------------------------------------------------------------------+
:Select *ForSelect* parameters:
+-------+--------+-----------+------+--+
| sName | string | mandatory | | |
+-------+--------+-----------+------+--+
| sId | string | optional | NULL | |
+-------+--------+-----------+------+--+
:Select *ForSelectWithLabel* parameters:
+--------+--------+-----------+------+--+
| sName | string | mandatory | | |
+--------+--------+-----------+------+--+
| sLabel | string | mandatory | | |
+--------+--------+-----------+------+--+
| sId | string | optional | NULL | |
+--------+--------+-----------+------+--+
:Select common parameters:
+-------------------+--------------+--------------------------------------------------------+
| AddCSSClass | string | |
+-------------------+--------------+--------------------------------------------------------+
| AddCSSClasses | array | like <code>['ibo-is-hidden', 'ibo-alert--body']</code> |
+-------------------+--------------+--------------------------------------------------------+
| AddCssFileRelPath | string | |
+-------------------+--------------+--------------------------------------------------------+
| AddDeferredBlock | iUIBlock | |
+-------------------+--------------+--------------------------------------------------------+
| AddHtml | string | |
+-------------------+--------------+--------------------------------------------------------+
| AddJsFileRelPath | string | |
+-------------------+--------------+--------------------------------------------------------+
| AddOption | SelectOption | |
+-------------------+--------------+--------------------------------------------------------+
| AddSubBlock | iUIBlock | |
+-------------------+--------------+--------------------------------------------------------+
| CSSClasses | array | like <code>['ibo-is-hidden', 'ibo-alert--body']</code> |
+-------------------+--------------+--------------------------------------------------------+
| DataAttributes | array | |
+-------------------+--------------+--------------------------------------------------------+
| DeferredBlocks | array | |
+-------------------+--------------+--------------------------------------------------------+
| IsHidden | bool | |
+-------------------+--------------+--------------------------------------------------------+
| IsMultiple | bool | |
+-------------------+--------------+--------------------------------------------------------+
| Name | string | |
+-------------------+--------------+--------------------------------------------------------+
| SubBlocks | array | |
+-------------------+--------------+--------------------------------------------------------+
| SubmitOnChange | bool | |
+-------------------+--------------+--------------------------------------------------------+
| Value | string | |
+-------------------+--------------+--------------------------------------------------------+
----
.. include:: /manual/Component/Input/Select/SelectFooter.rst