SelectComponent
Extends:
Direct Subclass:
Static Member Summary
| Static Public Members | ||
| public static get |
builderInfo: {"title": string, "group": string, "icon": string, "weight": number, "documentation": string, "schema": *} |
|
Static Method Summary
| Static Public Methods | ||
| public static |
schema(extend: ...*): * |
|
Member Summary
| Public Members | ||
| public |
|
|
| public get |
active: * |
|
| public get |
|
|
| public |
choices: * |
|
| public get |
dataReady: * |
|
| public |
|
|
| public get |
|
|
| public |
|
|
| public set |
|
|
| public get |
disabled: * |
|
| public get |
|
|
| public set |
|
|
| public get |
emptyValue: {} |
|
| public |
|
|
| public get |
inputInfo: * |
|
| public |
|
|
| public get |
|
|
| public get |
|
|
| public |
|
|
| public get |
|
|
| public get |
isSelectURL: * |
|
| public |
itemsLoaded: * |
|
| public |
|
|
| public |
|
|
| public |
|
|
| public get |
|
|
| public get |
Get the request headers for this select dropdown. |
|
| public |
scrollList: * |
|
| public |
|
|
| public |
|
|
| public |
selectOptions: *[] |
|
| public get |
serverCount: * |
|
| public set |
|
|
| public get |
|
|
| public |
|
|
| public |
validators: * |
|
| public |
value: * |
|
| public get |
|
|
| public set |
|
|
| public get |
visible: * |
|
Method Summary
| Public Methods | ||
| public |
activate() Activate this select control. |
|
| public |
addCurrentChoices(value: *, items: Array): * |
|
| public |
addOption(value: *, label: *) Adds an option to the select dropdown. |
|
| public |
|
|
| public |
addPlaceholderItem(placeholderValue: *) |
|
| public |
addValueOptions(items: *): * |
|
| public |
asString(value: *): * |
|
| public |
attach(element: *): * |
|
| public |
|
|
| public |
choicesOptions(): {"removeItemButton": *, "itemSelectText": *, "classNames": *, "addItemText": *, "placeholder": *, "placeholderValue": *, "noResultsText": *, "noChoicesText": *, "searchPlaceholderValue": *, "shouldSort": *, "position": *, "searchEnabled": *, "searchChoices": *, "searchFields": *, "fuseOptions": *, "valueComparer": *, "resetScrollPosition": *, ...customOptions: Object} |
|
| public |
Deletes the value of the component. |
|
| public |
detach() |
|
| public |
|
|
| public |
focus() |
|
| public |
getCustomItems(): * |
|
| public |
getNormalizedValues(): * |
|
| public |
getOptionValue(value: *): * Performs required transformations on the initial value to use in selectOptions |
|
| public |
getOptionsValues(): Array<*> | undefiened If component has static values (values, json) or custom values, returns an array of them |
|
| public |
getValue(): * |
|
| public |
getValueAsString(data: *): * |
|
| public |
init() |
|
| public |
isBooleanOrNumber(value: *): * Output this select dropdown as a string value. |
|
| public |
|
|
| public |
isInitApiCallNeeded(hasValue: *): * |
|
| public |
itemTemplate(data: *): * |
|
| public |
loadItems(url: *, search: *, headers: *, options: *, method: *, body: *): * |
|
| public |
normalizeSingleValue(value: *): * |
|
| public |
normalizeValue(value: *): * Normalize values coming into updateValue. |
|
| public |
onScroll() |
|
| public |
redraw(): * |
|
| public |
refresh(value: *, objectPattern1: {"instance": *}) |
|
| public |
render(): * |
|
| public |
setChoicesValue(value: *, hasPreviousValue: *, flags: {}) |
|
| public |
setErrorClasses(elements: *, dirty: *, hasError: *) |
|
| public |
setItems(items: *, fromSearch: *) |
|
| public |
setLoadingItem(addToCurrentList: boolean) |
|
| public |
setValue(value: *, flags: {}): * |
|
| public |
update() |
|
| public |
|
|
| public |
updateItems(searchInput: *, forceUpdate: *) |
|
| public |
Check if a component is eligible for multiple validation |
|
| public |
validateValueAvailability(setting: *, value: *): boolean |
|
| public |
wrapElement(element: *): * |
|
Static Public Members
Static Public Methods
public static schema(extend: ...*): * source
Params:
| Name | Type | Attribute | Description |
| extend | ...* |
Return:
| * |
Public Members
public get active: * source
public get additionalResourcesAvailable: * source
public choices: * source
public get dataReady: * source
public defaultDownloadedResources: *[] source
public get defaultSchema: * source
public defaultServerCount: * source
public set disabled source
public get disabled: * source
public get downloadedResources: * source
public set downloadedResources source
public get emptyValue: {} source
public focusableElement: * source
public get inputInfo: * source
public get isInfiniteScrollProvided: * source
public get isLoadingAvailable: * source
public get isSelectResource: * source
public get isSelectURL: * source
public itemsLoaded: * source
public itemsLoadedResolve: * source
public get overlayOptions: * source
public scrollList: * source
public searchDownloadedResources: *[] source
public searchServerCount: * source
public selectOptions: *[] source
public get serverCount: * source
public set serverCount source
public get shouldDisabled: * source
public triggerUpdate: * source
public validators: * source
public value: * source
public set visible source
public get visible: * source
Public Methods
public addCurrentChoices(value: *, items: Array): * source
Params:
| Name | Type | Attribute | Description |
| value | * | ||
| items | Array |
Return:
| * |
public addOption(value: *, label: *) source
Adds an option to the select dropdown.
Params:
| Name | Type | Attribute | Description |
| value | * | ||
| label | * |
public addPlaceholder() source
public addPlaceholderItem(placeholderValue: *) source
Params:
| Name | Type | Attribute | Description |
| placeholderValue | * |
public attachRefreshOnBlur() source
public choicesOptions(): {"removeItemButton": *, "itemSelectText": *, "classNames": *, "addItemText": *, "placeholder": *, "placeholderValue": *, "noResultsText": *, "noChoicesText": *, "searchPlaceholderValue": *, "shouldSort": *, "position": *, "searchEnabled": *, "searchChoices": *, "searchFields": *, "fuseOptions": *, "valueComparer": *, "resetScrollPosition": *, ...customOptions: Object} source
Return:
| {"removeItemButton": *, "itemSelectText": *, "classNames": *, "addItemText": *, "placeholder": *, "placeholderValue": *, "noResultsText": *, "noChoicesText": *, "searchPlaceholderValue": *, "shouldSort": *, "position": *, "searchEnabled": *, "searchChoices": *, "searchFields": *, "fuseOptions": *, "valueComparer": *, "resetScrollPosition": *, ...customOptions: Object} |
public detach() source
public disableInfiniteScroll() source
public focus() source
public getOptionValue(value: *): * source
Performs required transformations on the initial value to use in selectOptions
Params:
| Name | Type | Attribute | Description |
| value | * |
Return:
| * |
public getOptionsValues(): Array<*> | undefiened source
If component has static values (values, json) or custom values, returns an array of them
public init() source
public isBooleanOrNumber(value: *): * source
Output this select dropdown as a string value.
Params:
| Name | Type | Attribute | Description |
| value | * |
Return:
| * |
public isInitApiCallNeeded(hasValue: *): * source
Params:
| Name | Type | Attribute | Description |
| hasValue | * |
Return:
| * |
public loadItems(url: *, search: *, headers: *, options: *, method: *, body: *): * source
Params:
| Name | Type | Attribute | Description |
| url | * | ||
| search | * | ||
| headers | * | ||
| options | * | ||
| method | * | ||
| body | * |
Return:
| * |
public normalizeSingleValue(value: *): * source
Params:
| Name | Type | Attribute | Description |
| value | * |
Return:
| * |
public normalizeValue(value: *): * source
Normalize values coming into updateValue.
Params:
| Name | Type | Attribute | Description |
| value | * |
Return:
| * |
public onScroll() source
public refresh(value: *, objectPattern1: {"instance": *}) source
Params:
| Name | Type | Attribute | Description |
| value | * | ||
| objectPattern1 | {"instance": *} |
|
public setChoicesValue(value: *, hasPreviousValue: *, flags: {}) source
Params:
| Name | Type | Attribute | Description |
| value | * | ||
| hasPreviousValue | * | ||
| flags | {} |
|
public setErrorClasses(elements: *, dirty: *, hasError: *) source
Params:
| Name | Type | Attribute | Description |
| elements | * | ||
| dirty | * | ||
| hasError | * |
public setItems(items: *, fromSearch: *) source
Params:
| Name | Type | Attribute | Description |
| items | * | ||
| fromSearch | * |
public setLoadingItem(addToCurrentList: boolean) source
Params:
| Name | Type | Attribute | Description |
| addToCurrentList | boolean |
|
public setValue(value: *, flags: {}): * source
Params:
| Name | Type | Attribute | Description |
| value | * | ||
| flags | {} |
|
Return:
| * |
public update() source
public updateCustomItems() source
public updateItems(searchInput: *, forceUpdate: *) source
Params:
| Name | Type | Attribute | Description |
| searchInput | * | ||
| forceUpdate | * |
