Class idx.form.Select
Extends
dijit.form.Select, idx.form._CompositeMixin, idx.form._CssStateMixin, idx.form._ValidationMixin.
idx.form.Select is implemented according to IBM One UI(tm) Drop-Down Lists Standard.
It is a composite widget which enhanced dijit.form.Select with following features:
- Built-in label
- Built-in label positioning
- Built-in required attribute
- One UI theme support
Defined in: <idx\form\Select.js>.
Constructor Summary
Constructor Attributes | Constructor Name and Description |
---|---|
Field Summary
Field Attributes | Field Name and Description |
---|---|
Place holder of the drop down button.
|
- Fields borrowed from class idx.form._CompositeMixin:
- fieldWidth, help, hint, hintPosition, label, labelAlignment, labelWidth, required, unit
- Fields borrowed from class idx.form._ValidationMixin:
- instantValidate, invalidMessage, missingMessage, tooltipPosition
Method Summary
Method Attributes | Method Name and Description |
---|---|
Override the method in _HasDropDown.js to move the attribute
# Defect 9173
|
|
displayMessage(message)
|
|
Override the method in _HasDropDown.js to move the attribute
# Defect 9173
|
|
refocus()
Provides a method to return focus to the widget without triggering
revalidation.
|
|
resize()
|
|
validate(isFocused)
|
- Methods borrowed from class idx.form._CompositeMixin:
- _setFieldWidthAttr, _setHintAttr, _setLabelAlignmentAttr, _setLabelAttr, _setLabelWidthAttr, _setRequiredAttr, _setUnitAttr, postMixInProperties, reset, validateAndFocus
- Methods borrowed from class idx.form._ValidationMixin:
- _isEmpty, _isValid, isValid
Field Detail
{String} placeHolder
Place holder of the drop down button.
Method Detail
closeDropDown()
Override the method in _HasDropDown.js to move the attribute
# Defect 9173
displayMessage(message)
- Parameters:
- message
focusSelectedItem()
getErrorMessage()
openDropDown()
Override the method in _HasDropDown.js to move the attribute
# Defect 9173
postCreate()
refocus()
Provides a method to return focus to the widget without triggering
revalidation. This is typically called when the validation tooltip
is closed.
resize()
validate(isFocused)
- Parameters:
- isFocused