File tree Expand file tree Collapse file tree 2 files changed +12
-9
lines changed Expand file tree Collapse file tree 2 files changed +12
-9
lines changed Original file line number Diff line number Diff line change 1717 <span class =" visually-hidden" >(erforderlich)</span >
1818 </span >
1919 </label >
20- <p
21- id =" text-input-error"
22- class =" m-error-message"
23- >
24- {{ errorMsg }}
25- </p >
2620 <div class =" m-input-wrapper m-autocomplete" >
2721 <div
2822 v-if =" !!slots.prefix"
7367 >
7468 {{ hint }}
7569 </p >
70+ <form-error-message
71+ id =" text-input-error"
72+ v-if =" errorMsg"
73+ >
74+ {{ errorMsg }}
75+ </form-error-message >
7676 </div >
7777</template >
7878<script setup lang="ts">
7979import { computed } from " vue" ;
80+ import FormErrorMessage from " ./FormErrorMessage.vue" ;
8081
8182/**
8283 * Type includes all possible input types possible.
Original file line number Diff line number Diff line change 1414 <span class =" visually-hidden" >(erforderlich)</span >
1515 </span >
1616 </label >
17- <p class =" m-error-message" >
18- {{ errorMsg }}
19- </p >
2017 <div class =" m-input-wrapper" >
2118 <textarea
2219 class =" m-textarea"
2926 <p class =" m-hint" >
3027 {{ hint }}
3128 </p >
29+ <form-error-message v-if =" errorMsg" >
30+ {{ errorMsg }}
31+ </form-error-message >
3232 </div >
3333</template >
3434
3535<script setup lang="ts">
36+ import FormErrorMessage from " ./FormErrorMessage.vue" ;
37+
3638/**
3739 * Input value from the form component.
3840 */
You can’t perform that action at this time.
0 commit comments