21 if ( isset( $this->mParams[
'output-as-default'] ) ) {
22 $this->outputAsDefault = (bool)$this->mParams[
'output-as-default'];
25 # Per HTML5 spec, hidden fields cannot be 'required'
27 unset( $this->mParams[
'required'] );
36 if ( $this->outputAsDefault ) {
45 $this->mParent->addHiddenField( $name, $value,
$params );
85class_alias( HTMLHiddenField::class,
'HTMLHiddenField' );
array $params
The job parameters.