DemoFileInputLoading.vue 265 Bytes BlameHistoryPermalink Edit 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 <script setup lang="ts"> const file = ref() const loading = ref(true) watch(file, () => { loading.value = !file.value[0] }) </script> <template> <VFileInput v-model="file" :loading="loading" color="primary" label="File input" /> </template>