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.
This issue is to address the suggestion in #1108348: User interface improvements that we make the granularity select list on the field settings form into a set of checkboxes. Patch forthcoming.
Comment | File | Size | Author |
---|---|---|---|
#2 | 1215738-2.fix-validation.patch | 2.86 KB | ksenzee |
#2 | 1215738-2.fix-validation.interdiff.txt | 1.32 KB | ksenzee |
#1 | granularity-checkboxes.png | 25.01 KB | ksenzee |
#1 | 1215738-1.granularity-checkboxes.patch | 1.95 KB | ksenzee |
Comments
Comment #1
ksenzeeThis patch uses the same technique as the user edit page for creating a required disabled checkbox.
Comment #2
ksenzeeOops. Just noticed this patch breaks the validation that requires fields without hours granularity to have timezone handling of 'none'. Here's a new patch, with a test for the validation. Also attaching an interdiff showing just this change, in case anyone reviewed the first patch already.
Comment #3
KarenS CreditAttribution: KarenS commentedLooks good and I couldn't find a way to break it, so I have committed it.
Thanks!