diff options
Diffstat (limited to 'includes/htmlform/fields/HTMLSelectNamespaceWithButton.php')
-rw-r--r-- | includes/htmlform/fields/HTMLSelectNamespaceWithButton.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/includes/htmlform/fields/HTMLSelectNamespaceWithButton.php b/includes/htmlform/fields/HTMLSelectNamespaceWithButton.php index 636b54a24e7f..efbc9b7d22b5 100644 --- a/includes/htmlform/fields/HTMLSelectNamespaceWithButton.php +++ b/includes/htmlform/fields/HTMLSelectNamespaceWithButton.php @@ -20,4 +20,9 @@ class HTMLSelectNamespaceWithButton extends HTMLSelectNamespace { public function getInputHTML( $value ) { return $this->mClassWithButton->getElement( parent::getInputHTML( $value ) ); } + + protected function getFieldLayoutOOUI( $inputField, $config ) { + $buttonWidget = $this->mClassWithButton->getInputOOUI( '' ); + return new HTMLFormActionFieldLayout( $inputField, $buttonWidget, $config ); + } } |