You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i looked at the code and noticed that it doesn't refer to the file extension but to the mimetype.
not allowedExtensions={["docx", "doc"]}
but allowedExtensions={[ "vnd.openxmlformats-officedocument.wordprocessingml.document" ]}
Can you correct the property name?
Best regards.
Hi guy,
when allowedExtensions is assigned, the check of file's extensions fails.
<FileUpload id="file" title="" multiFile={false} maxFileSize={10} allowedExtensions={["docx", "pdf", "doc"]} errorSizeMessage={ "max 10Mb" } maxUploadFiles={1} showPlaceholderImage={false} onFilesChange={handleFilesChange} onContextReady={(context) => {}} />
If select a .docx file, this appen:
Best regards.
The text was updated successfully, but these errors were encountered: