parent::__construct( $params );
if ( isset( $params['placeholder-message'] ) ) {
- $this->mPlaceholder = $this->getMessage( $params['placeholder-message'] )->parse();
+ $this->mPlaceholder = $this->getMessage( $params['placeholder-message'] )->text();
} elseif ( isset( $params['placeholder'] ) ) {
$this->mPlaceholder = $params['placeholder'];
}
$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 );