Skip to content
New issue

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

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

Already on GitHub? # to your account

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

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

Comments

@janhenckens
Copy link
Contributor

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
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant