SearchInputWidget: Don't show images
authorJames D. Forrester <jforrester@wikimedia.org>
Fri, 6 Oct 2017 19:58:53 +0000 (12:58 -0700)
committerJames D. Forrester <jforrester@wikimedia.org>
Fri, 6 Oct 2017 20:01:14 +0000 (13:01 -0700)
But we should also have a different class name for this, as this isn't
upstream's SearchInputWidget.

Bug: T177659
Change-Id: Ie62e8678e89b2403d769694adb23fe21a047019c

includes/widget/SearchInputWidget.php

index 773c291..ba08ba6 100644 (file)
@@ -32,6 +32,7 @@ class SearchInputWidget extends TitleInputWidget {
                $config = array_merge( [
                        'maxLength' => null,
                        'icon' => 'search',
+                       'showImages' => false,
                ], $config );
 
                // Parent constructor