We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nette Forms have two rendering issues with using with groups
Expected output (without groups):
protected function createComponentForm(): \Nette\Application\UI\Form { $form = new \Nette\Application\UI\Form; //$form->addGroup("group1"); $form->addText("input1", "input1"); $form->addText("input2", "input2"); $form->addSubmit("send1", "send1"); $form->addSubmit("send2", "send2"); $form->addComponent(new \Nette\Forms\Controls\TextInput("input3"), "input3", "send1"); return $form; }
Invalid inputs position (with groups):
protected function createComponentForm(): \Nette\Application\UI\Form { $form = new \Nette\Application\UI\Form; $form->addGroup("group1"); $form->addText("input1", "input1"); $form->addText("input2", "input2"); $form->addSubmit("send1", "send1"); $form->addSubmit("send2", "send2"); $form->addComponent(new \Nette\Forms\Controls\TextInput("input3"), "input3", "send1"); return $form; }
protected function createComponentForm(): \Nette\Application\UI\Form { $form = new \Nette\Application\UI\Form; $form->addText("input1", "input1"); $form->addGroup("group1"); $form->addText("input2", "input2"); $form->addSubmit("send1", "send1"); $form->addSubmit("send2", "send2"); return $form; }
The text was updated successfully, but these errors were encountered:
Seems this is related to #199
Sorry, something went wrong.
Hi, we bumped into this issue. I am just pinging ticket so it doesn't get closed because of inactivity.
Groups really do behave this way and there is nothing we can do about it on principle.
No branches or pull requests
Description
Nette Forms have two rendering issues with using with groups
1. Can not place control to the specific position
Steps To Reproduce
Expected output (without groups):
Invalid inputs position (with groups):
2. First control without group rendered on the end of form
Steps To Reproduce
The text was updated successfully, but these errors were encountered: