blob: cd9aec6391dd90532d910972a475f71e3bf2bf2a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
<div class="formpart">
<label<?= ($this->required ? ' class="studiprequired"' : '') ?> for="<?= $id ?>">
<span class="textlabel">
<?= htmlReady($this->title) ?>
</span>
<? if ($this->required) : ?>
<span class="asterisk" title="<?= _('Dies ist ein Pflichtfeld') ?>" aria-hidden="true">*</span>
<? endif ?>
</label>
<multiselect name="<?= htmlReady($name) ?>[]" <?= ($required ? 'required aria-required="true"' : '') ?>
:options="<?= htmlReady(json_encode($options)) ?>"
:value="<?= htmlReady(json_encode($value)) ?>"
v-model="<?= htmlReady($name) ?>"
id="<?= $id ?>"
<?= $attributes ?>>
</multiselect>
</div>
|