[TYPO3-mvc] translate placeholder for textarea
Domi
djgarms at gmail.com
Mon Mar 4 14:22:23 CET 2013
Hi Henjo
> <f:form.textarea ....
> additionalAttributes="{placeholder:'{f:translate(key:\'yourKey\')}'}" />
>
I did this in my code already, but the translation is not working. I
only get the whole "{f:translate...}" in my output as placeholder.
Here my code again:
<f:form.textarea class="tinymce" cols="50" rows="20" property="message"
additionalAttributes="{required:'required',
placeholder:'{f:translate(key=\'tx_intranet_domain_model_messages.message\')}'}"/>
Cheers,
Dominic
More information about the TYPO3-project-typo3v4mvc
mailing list