Problem/Motivation

The "if none were selected" part of "On parent selection, automatically select children if none were selected.". Likewise for the reverse.

Steps to reproduce

- Create a taxonomy vocabulary with hierarchy
- Add a term field to a content type set to this vocab
- Set the form display widget to 'Term reference tree'
- Set 'Cascading selection' to anything but none
- Create some content of this type
- Select a child term in the field then select the parent. This will select all the other children, whereas from the wording I would expect no other children to be selected as I had already selected one individually

Proposed resolution

Updating the js to account for this.

Remaining tasks

Patch to follow shortly. Needs review.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

kimberleycgm created an issue. See original summary.

kimberleycgm’s picture

kimberleycgm’s picture

Status: Active » Needs review
joaopauloscho’s picture

Version: 8.x-1.1 » 2.0.1
FileSize
1.51 KB

Updated patch to apply with version 2.