Add input mode support for `MultilineTextFormField`
authorMatthias Schmidt <gravatronics@live.com>
Mon, 21 Dec 2020 18:18:39 +0000 (19:18 +0100)
committerMatthias Schmidt <gravatronics@live.com>
Mon, 21 Dec 2020 18:18:39 +0000 (19:18 +0100)
com.woltlab.wcf/templates/__multilineTextFormField.tpl
wcfsetup/install/files/acp/templates/__multilineTextFormField.tpl

index 3a114ecbe3c3ced8ca8da39abe7b2d58409f9720..ef6fce19cbb78ec4e02ef5d277fd240a78db8c07 100644 (file)
@@ -8,6 +8,7 @@
        *}{if $field->isImmutable()} disabled{/if}{*
        *}{if $field->getMinimumLength() !== null} minlength="{$field->getMinimumLength()}"{/if}{*
        *}{if $field->getMaximumLength() !== null} maxlength="{$field->getMaximumLength()}"{/if}{*
+       *}{if $field->getInputMode() !== null} inputmode="{$field->getInputMode()}"{/if}{*
        *}{if $field->getPlaceholder() !== null} placeholder="{$field->getPlaceholder()}"{/if}{*
 *}>{$field->getValue()}</textarea>
 
index 3a114ecbe3c3ced8ca8da39abe7b2d58409f9720..ef6fce19cbb78ec4e02ef5d277fd240a78db8c07 100644 (file)
@@ -8,6 +8,7 @@
        *}{if $field->isImmutable()} disabled{/if}{*
        *}{if $field->getMinimumLength() !== null} minlength="{$field->getMinimumLength()}"{/if}{*
        *}{if $field->getMaximumLength() !== null} maxlength="{$field->getMaximumLength()}"{/if}{*
+       *}{if $field->getInputMode() !== null} inputmode="{$field->getInputMode()}"{/if}{*
        *}{if $field->getPlaceholder() !== null} placeholder="{$field->getPlaceholder()}"{/if}{*
 *}>{$field->getValue()}</textarea>