protected function _applyAutocompleteOptions(&$input, $param)
    {
        if ($param instanceof AutocompleteParameter) {
            $input['data-url'] = $param->autocompleteUrl();
            $input['class'] = 'autocomplete';
            $input['data-name'] = $param->config('name');
        }

        return $input;
    }