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 is the error I get
[NO_TAGS_Taxonomy_name] field has to have maximum 1 values.
this is a false error that happens when taxonomy is no Tags but multiple select
A taxonomy multiple select select box does not have minimum requirements set
Comment | File | Size | Author |
---|---|---|---|
#1 | 1083706_false_taxonomy_maximum_check.patch | 477 bytes | GiorgosK |
Comments
Comment #1
GiorgosKa simple check for
isset($element['#minlength'])
can solve this problemhere is a simple patch for this
Comment #2
attiks CreditAttribution: attiks commentedIt should be fixed in the latest dev version, the problem was caused by $element['#multiple'] being set to TRUE, so I checked for that as well.
Thanks for the patch