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.
While clicking date pop fields in browser am getting browser autocomplete list suggestions(previously selected entry), need to hide browser autocomplete suggestions for date popup fields.
Comment | File | Size | Author |
---|---|---|---|
#14 | date-n2706965-14.interdiff.txt | 711 bytes | DamienMcKenna |
#14 | date-n2706965-14.patch | 713 bytes | DamienMcKenna |
|
Comments
Comment #2
arulraj CreditAttribution: arulraj commentedAdded batch to set autocomplete off for date popup fields.
Comment #3
arulraj CreditAttribution: arulraj commentedComment #4
arulraj CreditAttribution: arulraj commentedWaiting for someone review.
Comment #5
arulraj CreditAttribution: arulraj commentedComment #6
arulraj CreditAttribution: arulraj commentedWhen it will get reviewed?
Comment #7
arulraj CreditAttribution: arulraj commentedWhen it will get reviewed?
Comment #8
joelstein CreditAttribution: joelstein commentedI needed this too! Patched worked perfectly, but I think "off" should be lowercase. Here's a revised patch with only making it lowercase.
Comment #10
giupenni CreditAttribution: giupenni commentedPatch #8 works fine for me.
Comment #11
giupenni CreditAttribution: giupenni commentedOk, this patch works for fields but not works for exposed filter
Comment #12
DamienMcKennaComment #13
DamienMcKennaComment #14
DamienMcKennaLets add a comment to explain what this is for, just to be sure.
Comment #16
DamienMcKennaCommitted. Thanks!
Comment #17
steinmb CreditAttribution: steinmb as a volunteer commentedComment #18
DamienMcKennaHeh, thanks :)
Comment #20
FireHawkX CreditAttribution: FireHawkX commentedSorry for writing in a closed thread, but I am using latest dev version of the module (drupal 7) and was getting overlay (autocomplete) over the date_popup picker...
So writing here if anyone else is searching for a solution to the autocomplete appearing over the date_popup picker
I eventually added the following line
$sub_element['#attributes']['autocomplete'] = "off";
at line 439 of date_popup.module just ABOVE
$sub_element['#description'] = ' ' . t('E.g., @date', array(
... and it worked!! :)