Remove invalid `name` attribute on `option` tags
authorMarcel Werk <burntime@woltlab.com>
Wed, 3 May 2023 16:08:24 +0000 (18:08 +0200)
committerMarcel Werk <burntime@woltlab.com>
Wed, 3 May 2023 16:08:24 +0000 (18:08 +0200)
com.woltlab.wcf/templates/__singleSelectionFormField.tpl
wcfsetup/install/files/acp/templates/__singleSelectionFormField.tpl

index 17c3d4f72a38e5ac1216115705178f191cb5c065..7c6b698481afbb6d4c90c36ea35d422b18ef89ee 100644 (file)
@@ -36,7 +36,6 @@
        *}>
                {foreach from=$field->getNestedOptions() item=__fieldNestedOption}
                        <option {*
-                               *}name="{$field->getPrefixedId()}" {*
                                *}value="{$__fieldNestedOption[value]}"{*
                                *}{if $field->getValue() == $__fieldNestedOption[value] && $__fieldNestedOption[isSelectable]} selected{/if}{*
                                *}{if $field->isImmutable() || !$__fieldNestedOption[isSelectable]} disabled{/if}{*
index 17c3d4f72a38e5ac1216115705178f191cb5c065..7c6b698481afbb6d4c90c36ea35d422b18ef89ee 100644 (file)
@@ -36,7 +36,6 @@
        *}>
                {foreach from=$field->getNestedOptions() item=__fieldNestedOption}
                        <option {*
-                               *}name="{$field->getPrefixedId()}" {*
                                *}value="{$__fieldNestedOption[value]}"{*
                                *}{if $field->getValue() == $__fieldNestedOption[value] && $__fieldNestedOption[isSelectable]} selected{/if}{*
                                *}{if $field->isImmutable() || !$__fieldNestedOption[isSelectable]} disabled{/if}{*