Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
In case you use a fieldapi field in views you have a bunch of additional settings in case this field is a multi-value field.
It would be nice if we could add a description to explain that "0" corresponds to display all values.
Proposed resolution
Remaining tasks
User interface changes
API changes
Comment | File | Size | Author |
---|---|---|---|
#2 | After #2 unchecked.png | 57.62 KB | Lendude |
#2 | After #2 checked.png | 47.04 KB | Lendude |
#2 | Before #2.png | 55 KB | Lendude |
#2 | 2420865-2.patch | 2.37 KB | Lendude |
Comments
Comment #1
dawehnerComment #2
LendudeWouldn't it be beter to add a 'Display all values' checkbox and only show the advanced options when this is unchecked? This would probably eliminate a lot of the confusion that the 0/all would cause casual users.
This patch adds that checkbox. It only does the cosmetic changes and doesn't go into the submission handling yet. Will look into that if this is considered a good way to go.
Added before and after screenies in a minimal install.
Comment #3
LendudeComment #5
dawehnerLet's ensure to not store the value in the actual configuration.