X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fhtmlform%2Ffields%2FHTMLTextAreaField.php;h=e6963d5cde6aaeaef7e962614b4c38ed90725941;hb=e994e89e76c286c80dd9ad1bd3b73bcebfe9017b;hp=82ec3bf201211788b0fd7dc5f8bcbb2eca42b0b9;hpb=1493438594c13afa4384abb0c2ff14ecd844295d;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/htmlform/fields/HTMLTextAreaField.php b/includes/htmlform/fields/HTMLTextAreaField.php index 82ec3bf201..e6963d5cde 100644 --- a/includes/htmlform/fields/HTMLTextAreaField.php +++ b/includes/htmlform/fields/HTMLTextAreaField.php @@ -71,7 +71,7 @@ class HTMLTextAreaField extends HTMLFormField { 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 ]; @@ -92,10 +92,9 @@ class HTMLTextAreaField extends HTMLFormField { $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 );