-
-
Notifications
You must be signed in to change notification settings - Fork 151
Closed
Description
- bug report? yes
- feature request? no
- version: 2.4.4
Description
I have no idea if is bug or intention. but if I remove component from form, component still exist in group controls.
Steps To Reproduce
protected function createComponentForm(): \Nette\Application\UI\Form {
$form = new \Nette\Application\UI\Form;
$form->addGroup("group1");
$form->addText("input1");
$form->addText("input2");
$form->addSubmit("send1");
$form->removeComponent($form["input1"]);
bdump($form->getComponents());
bdump($form->getCurrentGroup()->getControls());
return $form;
}
Metadata
Metadata
Assignees
Labels
No labels