Тэг <conditions> предназначен для добавления виджета конструктора условий.
Атрибут | Тип | Обязательный | Описание |
---|
The <conditions> tag adds the condition builder widget.
Available attributes:
Attribute | Type | Mandatory | Description | |
---|---|---|---|---|
class | String | N | Нет | Укажите название класса CSS, заданное в поле CSSSpecify the CSS class name defined in the CSS field. |
model | String | Y | Да | Укажите значение этого атрибута, чтобы указать на объект данных контроллера клиента. При изменении данных в модели, они автоматически переносятся в клиентский скрипт. Specify this attribute to point to the client controller data object. When the model data changes, it is automatically transferred to the data of the client script. |
isMandatory | Boolean | N | Нет | Установите значение атрибутаTo make the field mandatory, set the attribute equal to 'true', чтобы сделать поле обязательным. |
isVisible | Boolean | N | Нет | Значение по умолчанию значениеThis attribute is equal to 'true' by default. To disable the widget displaying, set the. Чтобы отключить виджет, установите значение 'false' value. |
label | String | N | Нет | Опишите содержание поля, добавив заголовок поляDescribe the field content by giving a field label with text information. |
readOnly | Boolean | N | Нет | Чтобы сделать поле доступным только для чтения, установите значение атрибута какTo make the field read-only, set the attribute equal to 'true'. |
style | String | N | Нет | Настройте вид элементов виджета (размер, шрифт, цвет, и др.), используя синтаксис CSSSpecify the display settings (size, font, color, etc.) of the widget elements using the CSS syntax. |
tableId | Big Integer | NНет | Specify the ID of the table to which this tag is boundУкажите ID таблицы, к которой привязан тэг. | |
tableName | String | Y | Да | Укажите название таблицы, к которой привязан этот тэг. Specify the name of the table to which this tag is bound. |
value | String | N | Specify the default value for the field.Нет | Укажите значение поля по умолчанию. |
Пример:
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<conditions model="data.condition" tableName="itsm_incident" tableId="155964310500000569"></conditions> |
...