32 $config = array_merge( [
38 parent::__construct( $config );
41 if ( isset( $config[
'pushPending'] ) ) {
42 $this->pushPending = $config[
'pushPending'];
45 if ( isset( $config[
'performSearchOnClick'] ) ) {
46 $this->performSearchOnClick = $config[
'performSearchOnClick'];
49 if ( isset( $config[
'dataLocation'] ) ) {
51 $this->dataLocation = $config[
'dataLocation'];
55 $this->addClasses( [
'mw-widget-searchInputWidget' ] );