So I will try to explain my problem.
I have 2 multiselect components where second is filtered by first if first is set (if first is not set second one has full data access).
Lets say first data source is this ['a','b'].
and second data source is [1,2,3,4,5].
If selected item of first multiselect is 'a', second data source becomes [1,2,3]
If selected item of first multiselect is 'b' second data source becomes [4,5]
If there is none selected items in first multiselect then second data source becomes [1,2,3,4,5]
When i select item in second multiselect, lets say 2, and after that select in first multiselect item 'b', second multiselected items becomes [4,5] and old value 2 is gone. That is what i want and that is how it works now.
But my problem is when i *search* in second multiselect for an item 2, and after that i choose 'b' in first multiselect, that old value is still selected, he is not in options, and he is not in datasoruce but he is still selected and on submit i get his value too.