Constructor
new mw.widgets.SelectWithInputWidget(configopt)
#
Select with input widget. Displays an OO.ui.TextInputWidget along with an OO.ui.DropdownInputWidget. TODO Explain the OTHER option
Parameters:
Name | Type | Attributes | Description | |||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
config |
Object |
<optional> |
Configuration options Properties
|
Select with input widget.
Extends
Methods
getValue() → {string}
#
Get the value from outside.
Returns:
- Type
- string
Get the value from outside.
restorePreInfuseState()
#
setDisabled()
#
setValue(value)
#
Set the value from outside.
Parameters:
Name | Type | Description |
---|---|---|
value |
string
|
undefined
|
Set the value from outside.