-
Notifications
You must be signed in to change notification settings - Fork 637
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
Element Index Column configuration gets unwieldy with fields outside the global namespace #4314
Comments
This may relate to, or be more relevant to, Craft Elements if Field Instances are added: |
Excited to say that I found a non-breaking way to fix this for Craft 3.5 🎉 To take advantage of the fix, element types will need to start implementing a Examples: Lines 297 to 308 in 8678b51
Lines 261 to 283 in 8678b51
Using the same method to help filter the available sort options based on the selected source as well (#4802). |
The following issue describes a UI issue we run into with Sprout Forms. The issue may exist in other similar scenarios.
Sprout Forms has a Custom Element where users can add custom fields. Those fields are stored outside the
global
context like matrix blocks:When viewing the Element Index view for the Form Entries, a user can customize what columns appear, however, as seen in the screenshot above, that view shows ALL fields regardless of what Form Source is being shown.
In many cases Forms are used by marketing departments for short-term campaigns, leading to a lot of similar fields being created. One solution could be to create all these fields in the Global context but that also can lead to an intimidating number of not-so-relevant fields to choose from when working within Craft on any other field layout.
It seems this use case falls between the Entry and Matrix Block use cases in that the fields are outside of the global scope and they are also visible to the Element Index page.
The text was updated successfully, but these errors were encountered: