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

Assets field: "Restrict allowed file types" without checking options #3410

Closed
janhenckens opened this issue Oct 30, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@janhenckens
Copy link
Contributor

commented Oct 30, 2018

Description

When editing an assets field, it's now possible to check the "Restrict allowed file types?" checkbox and save the field without specifying any file types to which it should be restricted. That results in a field that doesn't accept any file types.

Simple mistake from the users part but could we make at least one of the file type checkboxes required if restrictFiles gets checked?

Additional info

  • Craft version: 3.0.28
  • PHP version: 7.2.1
  • Database driver & version: 5.6.38
  • Plugins & versions: None
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.