An object defining configuration properties for the SelectBox UI component.
Name Description acceptCustomValueSpecifies whether the UI component allows a user to enter a custom value. Requires the onCustomItemCreating handler implementation.
accessKeySpecifies the shortcut key that sets focus on the UI component.
activeStateEnabledSpecifies whether the UI component changes its visual state as a result of user interaction.
buttonsAllows you to add custom buttons to the input text field.
customItemCreateEventSpecifies the DOM event after which the custom item should be created. Applies only if acceptCustomValue is enabled.
dataSourceBinds the UI component to data.
deferRenderingSpecifies whether to render the drop-down field's content when it is displayed. If false, the content is rendered immediately.
disabledSpecifies whether the UI component responds to user interaction.
displayExprSpecifies the data field whose values should be displayed.
displayValueReturns the value currently displayed by the UI component.
dropDownButtonComponentAn alias for the dropDownButtonTemplate property specified in React. Accepts a custom component. Refer to Using a Custom Component for more information.
dropDownButtonRenderAn alias for the dropDownButtonTemplate property specified in React. Accepts a rendering function. Refer to Using a Rendering Function for more information.
dropDownButtonTemplateSpecifies a custom template for the drop-down button.
dropDownOptionsConfigures the drop-down field which holds the content.
elementAttrSpecifies the global attributes to be attached to the UI component's container element.
fieldComponentAn alias for the fieldTemplate property specified in React. Accepts a custom component. Refer to Using a Custom Component for more information.
fieldRenderAn alias for the fieldTemplate property specified in React. Accepts a rendering function. Refer to Using a Rendering Function for more information.
fieldTemplateSpecifies a custom template for the text field. Must contain the TextBox UI component.
focusStateEnabledSpecifies whether the UI component can be focused using keyboard navigation.
groupComponentAn alias for the groupTemplate property specified in React. Accepts a custom component. Refer to Using a Custom Component for more information.
groupedSpecifies whether data items should be grouped.
groupRenderAn alias for the groupTemplate property specified in React. Accepts a rendering function. Refer to Using a Rendering Function for more information.
groupTemplateSpecifies a custom template for group captions.
heightSpecifies the UI component's height.
hintSpecifies text for a hint that appears when a user pauses on the UI component.
hoverStateEnabledSpecifies whether the UI component changes its state when a user pauses on it.
inputAttrSpecifies the attributes to be passed on to the underlying HTML element.
isDirtySpecifies whether the component's current value differs from the initial value.
isValidSpecifies or indicates whether the editor's value is valid.
itemComponentAn alias for the itemTemplate property specified in React. Accepts a custom component. Refer to Using a Custom Component for more information.
itemRenderAn alias for the itemTemplate property specified in React. Accepts a rendering function. Refer to Using a Rendering Function for more information.
itemsAn array of items displayed by the UI component.
itemTemplateSpecifies a custom template for items.
labelSpecifies a text string used to annotate the editor's value.
labelModeSpecifies the label's display mode.
maxLengthSpecifies the maximum number of characters you can enter into the textbox.
minSearchLengthThe minimum number of characters that must be entered into the text box to begin a search. Applies only if searchEnabled is true.
nameThe value to be assigned to the name
attribute of the underlying HTML element.
Specifies the text or HTML markup displayed by the UI component if the item collection is empty.
onChangeA function that is executed when the UI component loses focus after the text field's content was changed using the keyboard.
onClosedA function that is executed once the drop-down editor is closed.
onContentReadyA function that is executed when the UI component is rendered and each time the component is repainted.
onCopyA function that is executed when the UI component's input has been copied.
onCustomItemCreatingA function that is executed when a user adds a custom item. Requires acceptCustomValue to be set to true.
onCutA function that is executed when the UI component's input has been cut.
onDisposingA function that is executed before the UI component is disposed of.
onEnterKeyA function that is executed when the Enter key has been pressed while the UI component is focused.
onFocusInA function that is executed when the UI component gets focus.
onFocusOutA function that is executed when the UI component loses focus.
onInitializedA function used in JavaScript frameworks to save the UI component instance.
onInputA function that is executed each time the UI component's input is changed while the UI component is focused.
onItemClickA function that is executed when a list item is clicked or tapped.
onKeyDownA function that is executed when a user is pressing a key on the keyboard.
onKeyUpA function that is executed when a user releases a key on the keyboard.
onOpenedA function that is executed once the drop-down editor is opened.
onOptionChangedA function that is executed after a UI component property is changed.
onPasteA function that is executed when the UI component's input has been pasted.
onSelectionChangedA function that is executed when a list item is selected or selection is canceled.
onValueChangedA function that is executed after the UI component's value is changed.
openedSpecifies whether or not the drop-down editor is displayed.
openOnFieldClickSpecifies whether a user can open the drop-down list by clicking a text field.
placeholderThe text that is provided as a hint in the select box editor.
readOnlySpecifies whether the editor is read-only.
rtlEnabledSwitches the UI component to a right-to-left representation.
searchEnabledSpecifies whether to allow search operations.
searchExprSpecifies the name of a data source item field or an expression whose value is compared to the search criterion.
searchModeSpecifies a comparison operation used to search UI component items.
searchTimeoutSpecifies the time delay, in milliseconds, after the last character has been typed in, before a search is executed.
selectedItemGets the currently selected item.
showClearButtonSpecifies whether to display the Clear button in the UI component.
showDataBeforeSearchSpecifies whether or not the UI component displays unfiltered values until a user types a number of characters exceeding the minSearchLength property value.
showDropDownButtonSpecifies whether the drop-down button is visible.
showSelectionControlsSpecifies whether or not to display selection controls.
spellcheckSpecifies whether or not the UI component checks the inner text for spelling mistakes.
stylingModeSpecifies how the UI component's text field is styled.
tabIndexSpecifies the number of the element when the Tab key is used for navigating.
textThe read-only property that holds the text displayed by the UI component input element.
useItemTextAsTitleSpecifies whether the SelectBox uses item's text a title attribute.
validationErrorInformation on the broken validation rule. Contains the first item from the validationErrors array.
validationErrorsAn array of validation errors.
validationMessageModeSpecifies how the message about the validation rules that are not satisfied by this editor's value is displayed.
validationMessagePositionSpecifies the position of a validation message relative to the component. The validation message describes the validation rules that this component's value does not satisfy.
validationStatusIndicates or specifies the current validation status.
valueSpecifies the currently selected value. May be an object if dataSource contains objects, the store key is specified, and valueExpr is not set.
valueChangeEventSpecifies the DOM events after which the UI component's value should be updated.
valueExprSpecifies which data field provides unique values to the UI component's value.
visibleSpecifies whether the UI component is visible.
widthSpecifies the UI component's width.
wrapItemTextSpecifies whether text that exceeds the drop-down list width should be wrapped.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4