microsoft / vsts-extension-multivalue-control

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

The value for field 'Country Impacted' is too long. #200

Closed AlecMcD13 closed 1 year ago

AlecMcD13 commented 2 years ago

Hi, When we are using the multivalue tool what are the limitations?

After we pick so many field options, it will give us the error "The value for field 'Country Impacted' is too long." However, I cant seem to figure out what the limit is. In some examples, I can pick 15+ while in others it limits me to 8 options.

The difference seems to be the length of the values.

This example has 25 selected values before issue: image

but here it 11 and giving me the error:

image

My guess is it's some type of character limit, is there a way around this?

Many Thanks!!

Taaanos commented 1 year ago

We are also running onto the same issue

madkoo commented 1 year ago

It's caused by a limitation in the work item field type (picklist/string) together with how the extension stores the data (a delimited string) the field length limit is 255 chars. A possible solution would be to use a Text/multiline field + configure the set of values in the multi select custom control instead of using a picklist/string field,