src/FormField/AutoComplete.php
protected function initDropdown($chain)
    {
        $settings = array_merge([
            'fields'      => ['name' => 'name', 'value' => 'id'/*, 'text' => 'description'*/],
            'apiSettings' => array_merge(['url' => $this->getCallbackURL().'&q={query}'], $this->apiConfig),
        ], $this->settings);

        $chain->dropdown($settings);
    }
protected function initDropdown($chain)
    {
        $settings = array_merge([
            'fields'      => ['name' => 'name', 'value' => 'id'/*, 'text' => 'description'*/],
            'apiSettings' => array_merge(['url' => $this->getCallbackURL().'&q={query}'], $this->apiConfig),
        ], $this->settings);

        $chain->dropdown($settings);
    }
protected function initDropdown ( $ chain ) { $ settings = array_merge ( [ 'fields' => [ 'name' => 'name' , 'value' => 'id' /*, 'text' => 'description'*/ ] , 'apiSettings' => array_merge ( [ 'url' => $ this -> getCallbackURL ( ) . '&q={query}' ] , $ this -> apiConfig ) , ] , $ this -> settings ) ; $ chain -> dropdown ( $ settings ) ; }
Override this method if you want to add more logic to the initialization of the
auto-complete field.

@param jQuery
Override this method if you want to add more logic to the initialization of the auto - complete field .