}
function getInputOOUI( $value ) {
+ if ( isset( $this->mParams['cols'] ) ) {
+ throw new Exception( "OOUIHTMLForm does not support the 'cols' parameter for textareas" );
+ }
+
$attribs = $this->getTooltipAndAccessKey();
if ( $this->mClass !== '' ) {
'name' => $this->mName,
'multiline' => true,
'value' => $value,
+ 'rows' => $this->getRows(),
) + $attribs );
}
}