28 $config = array_merge( [
33 parent::__construct( $config );
36 if ( isset( $config[
'performSearchOnClick'] ) ) {
37 $this->performSearchOnClick = $config[
'performSearchOnClick'];
40 if ( isset( $config[
'dataLocation'] ) ) {
42 $this->dataLocation = $config[
'dataLocation'];
45 if ( !empty( $config[
'showDescriptions'] ) ) {
46 $this->showDescriptions =
true;
50 $this->addClasses( [
'mw-widget-searchInputWidget' ] );