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
By default the input fields get the element validator token_element_validate
- however this breaks if the select or other form element type is used.
This form element type is used by google plus and opengraph metatags.
While opengraph ensures token_element_validate
is replaced by select_or_other_element_validate
- google plus doesn't.
This leads to notices / broken ajax because if them.
Proposed resolution
Use the same pattern as in opengraph.
Remaining tasks
Reviews neeeded.
User interface changes
None.
API changes
None.
Comment | File | Size | Author |
---|---|---|---|
metatag-set-element_validate-when-using-select_or_other.patch | 691 bytes | das-peter | |
Comments
Comment #1
DamienMcKennaLooks good. Thanks das-peter.