diff --git a/apps/demo/src/locales/en/form.json b/apps/demo/src/locales/en/form.json index a7cccacd..8591258a 100644 --- a/apps/demo/src/locales/en/form.json +++ b/apps/demo/src/locales/en/form.json @@ -73,6 +73,8 @@ "disableWeekDays": "Disable week days", "disabledMultiSelect": "Disabled multiselect", "disableSort": "Disable alphabetical sorting", + "dropzone": "Dropzone", + "dropzoneOptions": "Dropzone Options", "editableContent": "Editable content", "email": "Email", "expiresAfter": "Expires after", @@ -97,6 +99,7 @@ "monthPicker": "Month picker", "multiCalendars": "Multicalendar", "multiCheckbox": "Multiple checkbox input", + "multiple": "Multiple files", "multiSelect": "Multiselect", "next": "Next", "number": "Number", diff --git a/apps/demo/src/locales/fr/form.json b/apps/demo/src/locales/fr/form.json index 5b07311d..14a21d60 100644 --- a/apps/demo/src/locales/fr/form.json +++ b/apps/demo/src/locales/fr/form.json @@ -70,6 +70,8 @@ "disabled": "Disabled[fr]", "disableWeekDays": "Disable week days[fr]", "disableSort": "Disable alphabetical sorting", + "dropzone": "Dropzone", + "dropzoneOptions": "Dropzone Options", "editableContent": "Editable content", "email": "Email[fr]", "expiresAfter": "Expires after", @@ -94,6 +96,7 @@ "monthPicker": "Month picker[fr]", "multiCalendars": "Multicalendar[fr]", "multiCheckbox": "Multiple checkbox input", + "multiple": "Multiple files", "multiSelect": "Multiselect[fr]", "next": "Next", "number": "Number[fr]", diff --git a/apps/demo/src/views/Form/fileInput/Index.vue b/apps/demo/src/views/Form/fileInput/Index.vue index 86c06db3..57ffe8df 100644 --- a/apps/demo/src/views/Form/fileInput/Index.vue +++ b/apps/demo/src/views/Form/fileInput/Index.vue @@ -45,6 +45,66 @@ + + + {{ $t("form.label.dropzoneOptions") }} + + + + + + + <template> + <FileInput input-method="dropzone" /> + </template> + + <script setup lang="ts"> + import { FileInput } from "@dzangolab/vue3-form"; + </script> + + + + + + + {{ $t("form.label.multiple") }} + + + + + + + <template> + <FileInput input-method="dropzone" /> + </template> + + <script setup lang="ts"> + import { FileInput } from "@dzangolab/vue3-form"; + </script> + + + +