when setting limit of terms to be used to 2 and you actually try to set 3 terms
there is multiple messages displayed for EACH and EVERY term in the TREE
1 error message should be enough and too many is BAD UX
look at the attachment for a visual
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | term_reference_tree-2843509-4.patch | 1.05 KB | timwood |
| field_group.multiple.errors.png | 48.1 KB | giorgosk |
Comments
Comment #2
pierre-nono commentedHere is a patch to solution this simply.
The problem is that the form use the attribute #tree without removing the attribute #errors for the children elements, which in result will flag every element with errors.
It works with custom validation too.
Credits to defr
Comment #3
alex_optimComment #4
timwoodHere's an updated patch for latest release (1.0) and current -dev.
Comment #5
timwoodComment #6
jonraedeke commentedWe've been using this patch for a long time without issue. RTBC
Comment #8
vladimiraus