Constructor
new mw.htmlform.Element(configopt)
#
Allows custom data specific to HTMLFormField to be set for OOUI forms. This picks up the extra config from a matching PHP widget (defined in HTMLFormElement.php) when constructed using OO.ui.infuse().
Currently only supports passing 'cond-state' data.
Parameters:
Name | Type | Attributes | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
config |
Object |
<optional> |
Configuration options Properties
|
Allows custom data specific to HTMLFormField to be set for OOUI forms.