Grido\Components\Filters\Text::getFormControl PHP Method

getFormControl() protected method

protected getFormControl ( ) : TextInput
return Nette\Forms\Controls\TextInput
    protected function getFormControl()
    {
        $control = new \Nette\Forms\Controls\TextInput($this->label);
        $control->getControlPrototype()->class[] = 'text';
        return $control;
    }