From 4c7394111f2871bb64feead4603ff4ef610b68ad Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Sat, 19 May 2018 09:32:59 +0200 Subject: [PATCH] Remove `required` attribute for user form field The `required` attribute does not work as expected here as the input field to enter a username should be empty because the entered values are stored in the `ol.inputItemList` element. See #2509 --- wcfsetup/install/files/acp/templates/__userFormField.tpl | 1 - 1 file changed, 1 deletion(-) diff --git a/wcfsetup/install/files/acp/templates/__userFormField.tpl b/wcfsetup/install/files/acp/templates/__userFormField.tpl index 61976291f7..8247c9425b 100644 --- a/wcfsetup/install/files/acp/templates/__userFormField.tpl +++ b/wcfsetup/install/files/acp/templates/__userFormField.tpl @@ -6,7 +6,6 @@ *}value="{if $field->allowsMultiple()}{if $field->getValue()|is_array}{implode from=$field->getValue() item=username}{$username}{/implode}{/if}{else}{$field->getValue()}{/if}" {* *}class="long"{* *}{if $field->isAutofocused()} autofocus{/if}{* - *}{if $field->isRequired()} required{/if}{* *}{if $field->isImmutable()} disabled{/if}{* *}> -- 2.20.1