Skip to main content

ApiListboxField

ApiListboxField is a subclass of ApiBaseListField.

Methods

MethodReturnsDescription
AddOptionbooleanAdds new option to list options.
AddWidgetApiWidgetAdds new widget - visual representation for field
DeletebooleanRemoves field from document.
GetAllWidgetsApiWidget[]Gets array with widgets of the current field.
GetClassType"listboxField"Returns a type of the ApiListboxField class.
GetFullNamestringGets field full name.
GetOptionListOptionGets option from list options.
GetOptionsListOption[]Gets all options from list options.
GetPartialNamestringGets field partial name.
GetValuestringGets field value
GetValueIndexesnumber[]Gets selected value indexes.
IsCommitOnSelChangebooleanChecks if field can commit on selection change.
IsMultipleSelectionbooleanChecks if field is multiselect.
IsReadOnlybooleanChecks if field is read only
IsRequiredbooleanChecks if field is required
MoveOptionbooleanMoves option to specified position in list options.
RemoveOptionbooleanRemoves option from list options.
SetCommitOnSelChangebooleanSets field commit on selection change prop.
SetFullNamebooleanSets new field name if possible.
SetMultipleSelectionbooleanSets field multiselect prop.
SetPartialNamebooleanSets new field partial name.
SetReadOnlybooleanSets field read only
SetRequiredbooleanSets field required
SetValuebooleanSets field value
SetValueIndexesbooleanSets selected value indexes.