A form can't have control named “do”

Notice: This thread is very old.
medhi
Generous Backer | 255
+
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.
David Grudl
Nette Core | 8218
+
+2
-

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

Filip Procházka
Moderator | 4668
+
+1
-

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

medhi
Generous Backer | 255
+
0
-

Is it already fixed in 2.3.10? Seems not :(

David Grudl
Nette Core | 8218
+
+2
-

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