Renderer – textarea wraper class

Notice: This thread is very old.
jixis
Member | 4
+
0
-

Hi,
I was looking for textarea class in default form renderer (like text – .text, password – .password) and I cannot find option for textarea.
Is it on purpose or is it forgotten feature?
I know about $form->addTextarea(...)->getControlPrototype()->class(...), but renderer solution is imho better.

Thanks

petr.pavel
Member | 535
+
0
-

Why can't you use textarea { ... } instead of .textarea { ... }?

jixis
Member | 4
+
0
-

Thanks for reply, but I want it for some textareas only, not for all