diff --git a/src/components/FwbFileInput/FwbFileInput.vue b/src/components/FwbFileInput/FwbFileInput.vue
index 6b2f70d7..d39ba11f 100644
--- a/src/components/FwbFileInput/FwbFileInput.vue
+++ b/src/components/FwbFileInput/FwbFileInput.vue
@@ -7,6 +7,7 @@
:class="fileInpClasses"
:multiple="multiple"
type="file"
+ :accept="accept"
@change="handleChange"
>
@@ -48,6 +49,7 @@
@@ -65,7 +67,8 @@ interface FileInputProps {
label?: string
modelValue?: File | File[] | null
multiple?: boolean
- size?: string
+ size?: string,
+ accept?:string,
}
const props = withDefaults(defineProps(), {
@@ -74,6 +77,7 @@ const props = withDefaults(defineProps(), {
modelValue: null,
multiple: false,
size: 'sm',
+ accept: ''
})
const dropZoneText = computed(() => {