--- /dev/null
+<select
+ id="{$field->getPrefixedId()}"
+ name="{$field->getPrefixedId()}"
+ {if !$field->getFieldClasses()|empty} class="{implode from=$field->getFieldClasses() item='class' glue=' '}{$class}{/implode}"{/if}
+ {if $field->isRequired()} required{/if}
+ multiple
+>
+ <option value="">{lang}wcf.global.noSelection{/lang}</option>
+ {foreach from=$field->getNestedOptions() item=__fieldNestedOption}
+ <option
+ value="{$__fieldNestedOption[value]}"
+ {if $field->getValue() == $__fieldNestedOption[value] && $__fieldNestedOption[isSelectable]} selected{/if}
+ {if $field->isImmutable() || !$__fieldNestedOption[isSelectable]} disabled{/if}
+ >{@' '|str_repeat:$__fieldNestedOption[depth] * 4}{@$__fieldNestedOption[label]}</option>
+ {/foreach}
+</select>
--- /dev/null
+<?php
+
+namespace wcf\system\form\builder\field;
+
+/**
+ * Implementation of a form field for selecting multiple values in a select input field.
+ *
+ * @author Olaf Braun
+ * @copyright 2001-2024 WoltLab GmbH
+ * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
+ * @since 6.1
+ */
+class MultipleSelectFormField extends MultipleSelectionFormField
+{
+ /**
+ * @inheritDoc
+ */
+ protected $javaScriptDataHandlerModule = '';
+
+ /**
+ * @inheritDoc
+ */
+ protected $templateName = 'shared_multipleSelectFormField';
+}