In the element, default value is used instead of value for determining what's been selected so on validation errors selected terms loose their selection. (For example, select some terms than use do a blank search so it'll error and the selected terms aren't selected anymore).

(Also, when that is changed and non ajax load (expand all) is used terms only on the top level are selected due to this line $value = in_array($tree[$newindex]->tid, $terms_to_expand) ? 1 : 0;).

Comments

mh86’s picture

Category: bug » feature
Status: Active » Postponed

the keeping of previous selected values requires some changes in the Taxonomy Manager, because child branches of the tree aren't loaded at the beginning. I'm planing to improve the tree widget, but at the moment I don't know when I'm going to take a closer look at this issue. Marking this issue as postponed and feature request.

ivnish’s picture

Issue summary: View changes
Status: Postponed » Closed (outdated)