Increased file size limit to 2MB in drafts.rb
Increase the file size in setup.js to 2MB and updated the instructional text and error text to match
Fixed a React bug where we needed to use the React syntax of "htmlFor"
Increased the Upload PDF file size from 250KB to 2MB.
Initially we were going to update to 1MB size limit, since the Upload instructions mentioned the size limit was 1MB, but we had a size limit of 250KB in draft.rb.
However, considering the new HTML->PDF generator tends to create larger file sizes, Becky set the new size limit to 2MB.
Fixes https://github.com/CDLUC3/dmptool/issues/611 .
Changes proposed in this PR:
Increased file size limit to 2MB in drafts.rb Increase the file size in setup.js to 2MB and updated the instructional text and error text to match Fixed a React bug where we needed to use the React syntax of "htmlFor" Increased the Upload PDF file size from 250KB to 2MB.
Initially we were going to update to 1MB size limit, since the Upload instructions mentioned the size limit was 1MB, but we had a size limit of 250KB in draft.rb.
However, considering the new HTML->PDF generator tends to create larger file sizes, Becky set the new size limit to 2MB.