GlFilteredSearch: filter suggestions can be applied multiple times
Issue:
When using the glFilteredSearch component it is possible to apply the same filter over and over again:
There are also cases where the parent component wishes to do more complex filtering of the suggestions, e.g. when one applied filter removes options to apply others. Here is an example where it would be nice to remove the same branch to be applied as target branch when it is selected as source branch:
Note: this needs to happen when filters are being used, but not necessarily applied, yet. So it is not enough to control this within the token definitions themselves.
Proposed fix:
Let the parent component control the filter values and emit events with changes.
Edited by Michael Lunøe