Keider
Keider
AAlokai
Created by Keider on 3/28/2024 in #🙋|general-help
SfCarousel breakpoints
No description
1 replies
AAlokai
Created by Keider on 10/10/2023 in #🙋|general-help
onSSR allways make my api call
hi, in my application, i create alert message, who must appears on the first loading of a page. I using onSSR() on the default.vue, but when i change the page, it reloading my alert message. I try to using onServerPrefetch, but same result. What i'm doing wrong? It is the best way for what i want to do ?
6 replies
AAlokai
Created by Keider on 6/20/2023 in #🙋|general-help
Input type file doesn't show filename
Hi, I have a form for uploading a file. I'm using the SfInput component and the validation provider from vee-validate. The form is working correctly, as I can successfully send one or multiple files.
<ValidationProvider
name="files"
ref="provider"
rules="mimes:image/*,application/pdf,application/zip"
v-slot="{ errors, validate }"
slim>
<SfInput
class="marginTop"
name="files"
type="file"
:label="$t('File to choose')"
:valid="!errors[0]"
:errorMessage="errors[0]"
@change="onPickFiles"
multiple
/>
</ValidationProvider>
<ValidationProvider
name="files"
ref="provider"
rules="mimes:image/*,application/pdf,application/zip"
v-slot="{ errors, validate }"
slim>
<SfInput
class="marginTop"
name="files"
type="file"
:label="$t('File to choose')"
:valid="!errors[0]"
:errorMessage="errors[0]"
@change="onPickFiles"
multiple
/>
</ValidationProvider>
However, on the front-end side, the input doesn't change and still indicates that no file is selected. Do you have any idea where the problem might be coming from? Thanks in advance.
13 replies