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.
I'm using a node reference field as an exposed filter in views.
functionally it works fine. but the display has extra html. see screenshot.
any idea how to clean this up?
thanks !
Comment | File | Size | Author |
---|---|---|---|
exposed.png | 17.41 KB | _paul_meta |
Comments
Comment #1
fatima CreditAttribution: fatima commentedWere you able to find a solution? I'm running into the same issue.
Comment #2
_paul_meta CreditAttribution: _paul_meta commentedAt the moment i'm relying on some jquery to clean up the output - not the best way but its working as a hacky fix
Comment #3
meladawy CreditAttribution: meladawy commentedThe same issue here !
Comment #4
JordiTR CreditAttribution: JordiTR commentedHi you all.
I don't know if we should consider that issue buggy. I realized that if I enter on "Style options" on the title field and I active all "Customize field HTML", "Customize label HTML" and "Customize field and label wrapper HTML" and I choose on all of them "- none -", then there is no HTML taggin. Then my exposed filter select output was clean, just the node title, no spans at all.
It's quite an old issue but if someone is subscribed maybe could check if that solves the problem instead of hacking code :-)
Comment #5
rob3000 CreditAttribution: rob3000 commentedI've just had this similar issue and created a hook_form_alter to override the field.
Comment #6
DaneMacaulay CreditAttribution: DaneMacaulay commentedremove html tags in the field settings
Comment #7
idcm CreditAttribution: idcm commentedoops. posted in wrong place