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

Fieldtype js file is loaded multiple times, if an addon has multiple fieldtypes #2223

jasonvarga opened this Issue Oct 29, 2018 · 0 comments


None yet
1 participant

jasonvarga commented Oct 29, 2018

Describe the bug
A fieldtype.js file is loaded for each fieldtype. If an addon has multiple fieldtypes, the same file gets loaded for each one.

To Reproduce
Steps to reproduce the behavior:

  1. Have an addon with multiple fieldtypes. eg. SEO Pro
  2. See multiple script tags in the source.

Expected behavior
Load fieldtype.js once per addon.

Environment details (please complete the following information):

  • Statamic Version: 2.10.7

Additional context

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