microsoft / vsts-extension-multivalue-control

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

'set the field X to suggested values rather than allowed values' error message although the field is set to suggested values #196

Closed howIhatetheseusernames closed 1 year ago

howIhatetheseusernames commented 2 years ago

I always get above error message althogh the respective field is not set to allowed values see screen shot

image

when I tick the option for 'Allow users to enter their own values' the error message no longer appears although that's exactly the thing this error message was about in the first place and a setting I do not want to be forced to choose

timritzer commented 2 years ago

The backing field for a picklist must be a single value. Thus you either have to allow custom values (and end up with Option1;Option2 as the saved value) OR not save more than one value (and end up with Option1 as the saved value.) The only alternative is to use a regular text field (and end up with "Option1;Option2" as the saved value)

This control cannot change the underlying schema/data storage which doesn't support multiple saved independent values.

Use contains searches to filter/search downstream as needed.

madkoo commented 1 year ago

Closing this issue as this has been answered. Is the issue still persists feel free to reopen this issue.