1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
<template> <label class="studiprequired" :for="id"> <span class="textlabel">{{ label }}</span> <span class="asterisk" :title="$gettext('Dies ist ein Pflichtfeld')" aria-hidden="true">*</span> <slot></slot> </label> </template> <script> export default { props: { id: { type: String, required: true, }, label: { type: String, required: true, }, }, }; </script>