MediaWiki REL1_39
HTMLFormElement.php File Reference

Go to the source code of this file.

Functions

 initializeHTMLFormElement (array $config=[])
 

Variables

 $modules = null
 
trait HTMLFormElement
 Allows custom data specific to HTMLFormField to be set for OOUI forms.
 

Function Documentation

◆ initializeHTMLFormElement()

initializeHTMLFormElement ( array $config = [])

Variable Documentation

◆ $modules

◆ HTMLFormElement

trait HTMLFormElement
Initial value:
{
protected $condState = null

Allows custom data specific to HTMLFormField to be set for OOUI forms.

A matching JS widget (defined in htmlform.Element.js) picks up the extra config when constructed using OO.ui.infuse().

Currently only supports passing 'hide-if' and 'disable-if' data.

Stability: stable
to extend

Definition at line 12 of file HTMLFormElement.php.