The title is already added as the action of the form tag,
so adding it again as a hidden input field is pretty useless
and more confusing in the url. Therefore: Removing it.
Change-Id: I146b562357105e337f86a6ccfeb55477262f67cd
'default' => $from,
],
];
- $hiddenFields = [
- 'title' => $this->getTitle()->getPrefixedText(),
- ];
$htmlForm = HTMLForm::factory( 'ooui', $formDescriptor, $this->getContext() )
- ->addHiddenFields( $hiddenFields )
->setSubmitTextMsg( 'categories-submit' )
->setWrapperLegendMsg( 'categories' )
->setMethod( 'get' );