Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bring back filesize option for file field #202

Closed
fredrikekelund opened this issue Oct 24, 2017 · 1 comment
Closed

Bring back filesize option for file field #202

fredrikekelund opened this issue Oct 24, 2017 · 1 comment

Comments

@fredrikekelund
Copy link
Contributor

I noticed that the filesize option had been removed from the file field in version 2.9.3 (6f7b2e6).

I couldn't find an issue that preceded the removal – I was just wondering why it was removed? If a site has public facing forms with file uploads, it's not given that you would want to use the global filesize limit (for example, you might want to be able to upload larger files through the admin panel).

@rhukster
Copy link
Member

I was already thinking about how to do this 'better' so have just pushed a solution where this is added back but defaults back to system PHP limits if value is 0 or larger than PHP value. Please test it out and let me know if this is working as expected (works in my testing).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants