microsoft / vsts-extension-multivalue-control

A work item form control which allows selection of multiple values.
MIT License
46 stars 44 forks source link

Cannot Filter / Find Values from backlog view when not the first value #292

Open cyoscott opened 5 months ago

cyoscott commented 5 months ago

In the backlog view of DevOps, using the filter field and entering a value which has been selected in the multiselect, but is not the 'first' item listed will result in this not being found.

E.g. Selecting "Apples" and "Bananas" from the multi-select stores these in the field as "Apples;Bananas"

Searching for "Bananas" in the backlog view of devops will yield no results.

Searching for "Apples" will find the work item.

Manually editing the field to store as "Apples; Bananas" instead will resolve this.

Therefore, I believe the issue is that the DevOps backlog filter is doing a tokenized string comparison tokenized on spaces; and by introducing a space between the selected options in the control when writing to the picklist field, this would resolve the issue.

niltongouveajr commented 5 months ago

+1

AminTi commented 5 months ago

I'll review it and provide feedback shortly.

niltongouveajr commented 3 months ago

Hi @AminTi, any updates? Not being able to query by the field values makes the use of the extension unfeasible...