issue with multipleDropdownField while deselecting all selected value using cross button


I am using multipleDropdownField as filter for Grid data to populate. When I select one or more value, it is working as expected.

But when I remove or de-select all selected values using the cross button visible in multipleDropdownField, it should make the underlying rule input or local variable as null but it is not doing that.

Expectation is, whenever user de-select everything, grid should show all the details. 

As a work around, I have added an IF condition, to check if count of local!selected variable is 0, save null to local!selected for grid to show all the details.

  Discussion posts and replies are publicly visible