We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ba1280 commit 6574a38Copy full SHA for 6574a38
docs/components/fileInput.md
@@ -105,3 +105,25 @@ import { FwbFileInput } from 'flowbite-vue'
105
const file = ref(null)
106
</script>
107
```
108
+
109
+## Dropzone with custom placeholder
110
111
+You can customize the dropzone placeholder text using the `dropzonePlaceholder` slot:
112
113
+```vue
114
+<template>
115
+ <fwb-file-input v-model="file" dropzone>
116
+ <template #dropzonePlaceholder>
117
+ <span class="font-semibold">Choose your file</span>
118
+ or drop it here
119
+ </template>
120
+ </fwb-file-input>
121
+</template>
122
123
+<script setup>
124
+import { ref } from 'vue'
125
+import { FwbFileInput } from 'flowbite-vue'
126
127
+const file = ref(null)
128
+</script>
129
+```
0 commit comments