It's a bug or feature? textarea n:name attribute

Notice: This thread is very old.
Jan Endel
Member | 1016
+
0
-

If i had these form:

	$form = new UI\Form();

	$form->addTextArea('reply', 'Reply');
	$form->addSubmit('send', 'Send Reply');
	$form->addHidden('messageId');

and template like this:

{form form}
	<textarea n:name="reply" placeholder="foo" class="txt" />
	<input n:name="send" class="send">
{/form}

then i get those tracy:
http://cl.ly/…3t1C183L2K14

Its a bug or a feature?

Last edited by Jan Endel (2014-07-01 18:12)

David Grudl
Nette Core | 8137
+
0
-

Version?

David Grudl
Nette Core | 8137
+
+1
-

Of course it is not feature… And in 2.1.4 it works correctly.

Jan Endel
Member | 1016
+
0
-

Thx @DavidGrudl