A form can't have control named “do”

5 years ago

medhi
Bronze Partner | 189
+
0
-

Nette 2.2.6

  • Install Nette Sandbox
  • Edit app/Presenters/SignPresenter.php
  • Add control $form->addText('do'); to the createComponentSignInForm()
  • Nette\InvalidStateException: Component with name ‘do’ already exists.

5 years ago

David Grudl
Nette Core | 6877
+
+2
-

It's known limitation. But I am planning to fix it in next release.

5 years ago

Filip Procházka
Moderator | 4693
+
+1
-

@DavidGrudl if you'd be so kind to share the idea, somebody might wanna help you with it :)

4 years ago

medhi
Bronze Partner | 189
+
0
-

Is it already fixed in 2.3.10? Seems not :(

4 years ago

David Grudl
Nette Core | 6877
+
+2
-

In next big release. You can test it here https://github.com/…ion/pull/127