throw new Exception( "OOUIHTMLForm does not support the 'cols' parameter for textareas" );
}
- $attribs = $this->getTooltipAndAccessKey();
+ $attribs = $this->getTooltipAndAccessKeyOOUI();
if ( $this->mClass !== '' ) {
$attribs['classes'] = [ $this->mClass ];
$this->getAttributes( $allowedParams )
);
- return new OOUI\TextInputWidget( [
+ return new OOUI\MultilineTextInputWidget( [
'id' => $this->mID,
'name' => $this->mName,
- 'multiline' => true,
'value' => $value,
'rows' => $this->getRows(),
] + $attribs );