Can you provide guidance on how to properly display custom label slots in Quasar?
I am looking to incorporate icons or images using the label slot.
Below is my data():
data() {
return {
showLabel: true,
labelText: "My custom Label",
registrationNumber: null,
};
},
And this is my template:
<q-file
outlined
class="registration-field"
:label-slot="showLabel"
label-color="red"
v-model="registrationNumber"
>
// Inserting our custom label slot here
<template v-slot:label>
<div>{{ labelText }}</div>
</template>
</q-file>
However, it appears that the custom label is not displaying at all.