Extends
Constructor
new mw.widgets.SelectWithInputWidget([config])
#
Create an instance of mw.widgets.SelectWithInputWidget.
Parameters:
| Name | Type | Attributes | Description | |||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
config |
Object |
optional |
Configuration options Properties:
|
Methods
getValue() → {string}
#
Get the value from outside.
Returns:
- Type
- string
Get the value from outside.
restorePreInfuseState()
#
setDisabled()
#
setLabelledBy()
#
setValue(value)
#
Set the value from outside.
Parameters:
| Name | Type | Description |
|---|---|---|
value |
string
|
undefined
|
Set the value from outside.