public function registerClientScript()
    {
        /** @var TbApi $api */
        $selector = '#' . TbArray::getValue('id', $this->htmlOptions, $this->getId());
        $this->registerPlugin(TbApi::PLUGIN_TYPEAHEAD, $selector, $this->pluginOptions);
    }