VolkovLabs/business-variable

Deselecting group doesn't work

Closed this issue ยท 1 comments

Hi! ๐Ÿ‘‹
First of all, thanks for this useful plugin!

I've run into a small issue with group selection. When a group is unselected then it correctly updates the inner items and variable, but the outer items/groups remain selected.

The problem is illustrated here:

  1. Initial state
1  before selection
  1. Select group
2  after selection
  1. Unselect group by clicking on it again. Note how "DSP_db_db" is still selected in the "service" variable. I would expect it to go back to "All" like initially.
3  after unselection
  1. Select other group. "DSP_db_db" still remains selected and it also still shows a checkmark even though nothing is selected in the group.
4  select other group

Configuration and data:
config data

Both variables have "Multi-value" and "Include All option" enabled.

Version is v2.3.1.

I'm not sure if this isa duplicate of #114. If it is, please feel free to close this one :)

@SamuelBoerlin group deselection is not supported because grouping just helps to organize and select sub-items.