public function getHtmlName() { return Nette\Forms\Helpers::generateHtmlName($this->lookupPath(Form::class)); }
/** * Returns HTML name of control. * @return string */ public function getHtmlName() { return parent::getHtmlName() . '[]'; }