And throw an exception if 'cols' is set, since it won't work.
Requires
eed0f5294b0080 in OOUI.
Bug: T104682
Change-Id: I8e09402a01cecac8a90497d31b3b1ca15ff2d949
}
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 );
}
}