Keider
Keider
AAlokai
Created by Keider on 10/10/2023 in #🙋|general-help
onSSR allways make my api call
Thank you very much for this,
6 replies
AAlokai
Created by Keider on 10/10/2023 in #🙋|general-help
onSSR allways make my api call
Is it more clear ? sorry for my english.
6 replies
AAlokai
Created by Keider on 10/10/2023 in #🙋|general-help
onSSR allways make my api call
Sorry, i work with sylius, i request to get my objet, and display it in an SfModal. i make my request in default.vue with method onSSR. My goal is when a user go on my app, he get this modal once. ( a welcome message for exemple). My problem is when i change page the modal reappears.
6 replies
AAlokai
Created by Keider on 6/20/2023 in #🙋|general-help
Input type file doesn't show filename
yes sorry special config with multer, but it's not me who do this part.
13 replies
AAlokai
Created by Keider on 6/20/2023 in #🙋|general-help
Input type file doesn't show filename
in my submit a create a formData and push manually files in:
javascriptfiles.value.forEach((file) => {
form.append('files', file, file.name);
});
javascriptfiles.value.forEach((file) => {
form.append('files', file, file.name);
});
13 replies
AAlokai
Created by Keider on 6/20/2023 in #🙋|general-help
Input type file doesn't show filename
via api-client
13 replies
AAlokai
Created by Keider on 6/20/2023 in #🙋|general-help
Input type file doesn't show filename
this is my onPickFiles method.
const files = ref([])
const onPickFiles = async (event) => {
const arrayFiles = [...event.target.files]
const { valid } = await context.refs.provider.validate(event);
if(valid) {
files.value = arrayFiles;
}
};
const files = ref([])
const onPickFiles = async (event) => {
const arrayFiles = [...event.target.files]
const { valid } = await context.refs.provider.validate(event);
if(valid) {
files.value = arrayFiles;
}
};
i send the files with a method on sumbit.
13 replies
AAlokai
Created by Keider on 6/20/2023 in #🙋|general-help
Input type file doesn't show filename
but on input type file, shouldn't we use v-model ??
13 replies