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.
Multiple calls to drupal_add_js and drupal_add_library in the D8 branch cause invalid function errors. Also, the datepicker js code is not present. I have a patch
Comment | File | Size | Author |
---|---|---|---|
#5 | date_picker_not_working-2779589-5.patch | 3.94 KB | geerlingguy |
#2 | datepicker-2779589-1.patch | 5.01 KB | elgordogrande |
Comments
Comment #2
elgordogrande CreditAttribution: elgordogrande commentedAttached is the patch to provide some D8 compatibility for adding the Datepicker widget.
Comment #3
geerlingguy CreditAttribution: geerlingguy as a volunteer commentedI can confirm that this patch allows the BEF date filter to work correctly. Thanks!
Comment #4
geerlingguy CreditAttribution: geerlingguy as a volunteer commentedJust noticed this patch also includes the changes from #2687773-7: Using checkboxes with an "is all of" filter fails if any options are selected; going to post an updated patch.
Comment #5
geerlingguy CreditAttribution: geerlingguy as a volunteer commentedComment #6
freeform.steph CreditAttribution: freeform.steph commentedThank you for this patch - worked for me.
Comment #8
mikeker CreditAttribution: mikeker as a volunteer commentedThank you @elgordogrande for the patch and @geerlingguy for noticing the bit from #2687773: Using checkboxes with an "is all of" filter fails if any options are selected in there!
Committed with the following very tiny doc fix:
Comment #9
sagesolutions CreditAttribution: sagesolutions commentedPatch #5 worked for me. Thanks @geerlingguy
Comment #11
Alienpruts CreditAttribution: Alienpruts commentedCould it be that this patch needs rerolling? I'm getting HUNK FAILED errors. More than willing to do the rerolling, but need to be sure if this happens to anyone else.
EDIT : my bad, I was trying to apply to 3.0-alpha-1, but failed to notice this patch was already included in the dev version. :)
Comment #12
chrotto CreditAttribution: chrotto commentedI do not think this is working.
With version 8.x-3.0-alpha1 and JQuery UI I get this error 'The website encountered an unexpected error. Please try again later.'
With version 8.x-3.0-alpha1+11-dev The datepicker show up but instead of 2016-12-14 it placed 20162016-12-14 in the date field