question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Showing 'undefined' message when file size exceeds maxFileSize

See original GitHub issue

Using <DasboardModal />, with uppy maxFileSize restriction set, whenever file bigger then set value is added, statusbar shows message undefined 32MB (or the set file size limit). I cant find where to set the given message, only that it is somewhere passed as message to <Informer /> component

screen shot 2018-02-21 at 17 41 02

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
goto-bus-stopcommented, Feb 26, 2018

exceedsSize is a Core locale string, so it needs to be passed to the Uppy constructor:

const uppy = Uppy({
  locale: {
    strings: {
      exceedsSize: 'Překročena maximální velikost souboru'
    }
  }
})
1reaction
PavelHasalacommented, Feb 26, 2018

Setting localisation via exceedsSize key makes Uppy to use default string

This file exceeds maximum allowed size of
<DashboardModal
    locale={{
        strings: {
            exceedsSize: 'Překročena maximální velikost souboru'
        }
    }}
/>
Read more comments on GitHub >

github_iconTop Results From Across the Web

maxFileSize and acceptFileTypes in blueimp file upload ...
Hello there, I'm trying to implement this code for file upload but getting the error that says Upload file error: Uploaded bytes exceed...
Read more >
How to Fix the uploaded file exceeds the upload_max_filesize ...
This error message can appear when you're uploading large images, videos, plugins, themes, any type of file that you upload to your WordPress ......
Read more >
Changing the File Upload Size Limit - Jotform
When uploading a project file, a Maximum File Size Exceeded error displays and you are not able to submit your project. This happens...
Read more >
How to Fix the upload_max_filesize Error in WordPress
Running into the uploaded file exceeds the upload_max_filesize directive in php.ini error? Read and learn how to fix it easily here!
Read more >
Error undefined - Bizagi Knowledge Base
In order to fix this issue, open Bizagi Studio or Management Console and edit the Upload Max File Size property located in the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found