Commit | Line | Data |
---|---|---|
6ec99288 AE |
1 | <textarea id="{@$field->getPrefixedId()}" {* |
2 | *}name="{@$field->getPrefixedId()}" {* | |
3 | *}rows="{@$field->getRows()}"{* | |
44aab79e | 4 | *}{if !$field->getFieldClasses()|empty} class="{implode from=$field->getFieldClasses() item='class' glue=' '}{$class}{/implode}"{/if}{* |
f7d4884e | 5 | *}{if $field->getAutoComplete() !== null} autocomplete="{$field->getAutoComplete()}"{/if}{* |
146e7acb | 6 | *}{if $field->getPattern() !== null} pattern="{$field->getPattern()}"{/if}{* |
6ec99288 AE |
7 | *}{if $field->isAutofocused()} autofocus{/if}{* |
8 | *}{if $field->isRequired()} required{/if}{* | |
9 | *}{if $field->isImmutable()} disabled{/if}{* | |
10 | *}{if $field->getMinimumLength() !== null} minlength="{$field->getMinimumLength()}"{/if}{* | |
11 | *}{if $field->getMaximumLength() !== null} maxlength="{$field->getMaximumLength()}"{/if}{* | |
2341c4d9 | 12 | *}{if $field->getInputMode() !== null} inputmode="{$field->getInputMode()}"{/if}{* |
6ec99288 | 13 | *}{if $field->getPlaceholder() !== null} placeholder="{$field->getPlaceholder()}"{/if}{* |
ef6cd5b4 | 14 | *}{foreach from=$field->getFieldAttributes() key='attributeName' item='attributeValue'} {$attributeName}="{$attributeValue}"{/foreach}{* |
6ec99288 | 15 | *}>{$field->getValue()}</textarea> |
a63f9b97 MS |
16 | |
17 | {if $field->isI18n()} | |
18 | {include file='multipleLanguageInputJavascript'} | |
19 | {/if} |