ApiBaseListField
ApiBaseListField is a subclass of ApiBaseField.
Methods
| Method | Returns | Description |
|---|---|---|
| AddOption | boolean | Adds new option to list options. |
| AddWidget | ApiWidget | Adds new widget - visual representation for field |
| Delete | boolean | Removes field from document. |
| GetAllWidgets | ApiWidget[] | Gets array with widgets of the current field. |
| GetFullName | string | Gets field full name. |
| GetOption | ListOption | Gets option from list options. |
| GetOptions | ListOption[] | Gets all options from list options. |
| GetPartialName | string | Gets field partial name. |
| GetValue | string | Gets field value |
| GetValueIndexes | number[] | Gets selected value indexes. |
| IsCommitOnSelChange | boolean | Checks if field can commit on selection change. |
| IsReadOnly | boolean | Checks if field is read only |
| IsRequired | boolean | Checks if field is required |
| MoveOption | boolean | Moves option to specified position in list options. |
| RemoveOption | boolean | Removes option from list options. |
| SetCommitOnSelChange | boolean | Sets field commit on selection change prop. |
| SetFullName | boolean | Sets new field name if possible. |
| SetPartialName | boolean | Sets new field partial name. |
| SetReadOnly | boolean | Sets field read only |
| SetRequired | boolean | Sets field required |
| SetValue | boolean | Sets field value |
| SetValueIndexes | boolean | Sets selected value indexes. |