Example labels: "One,Two"
Currently displayed labels: "One", "One".

Cause:
Line 169 of jquery.simpler-select.js:

  that.addSelectAfter(that.createSelect(optionInfo.children, selectedValue, that.selectGetLevel()));

That selectGetLevel() returns it's current level, but the new select should be level + 1.

Comments

recrit created an issue. See original summary.

recrit’s picture

Status: Active » Needs review
StatusFileSize
new586 bytes

The patch attached adds a "+1".

br0ken’s picture

Assigned: Unassigned » br0ken
Status: Needs review » Closed (cannot reproduce)

I can't reproduce mentioned behavior. Feel free to provide more data an reopen the issue.

ron williams’s picture

StatusFileSize
new17.77 KB
new18.03 KB

Myself and several colleagues have confirmed this bug using field "Content: Has taxonomy term (exposed)" with CSHS.

When a selection is made within the parent field, the child field appears with the correct field elements, but the wrong field label (seen below).
Two fields displaying incorrect field labels.

When a selection is made within the parent field, then the page is reloaded/refreshed, the child field appears with the correct field elements and field label.
Two fields displaying correct field labels.