microsoft / vsts-extension-multivalue-control

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

Getting error "not in the supported list of values" #5

Closed rlheman closed 7 years ago

rlheman commented 7 years ago

After setting up the Multivalue control I tested it and when I choose more than one I get an error saying "The field 'Products' contains the value ' (9 names of my products) that is not in the list of supported values." The custom field is originally set up as a string picklist. I get that error when I try using just the picklist. I tried setting up it up using the individual fields like in the example but get the same error. I tried just the semicolon no spaces and semicolon with a space in between each name. I get the error both ways. I tried in both Chrom and IE 11 but got the same error. I then tried it in a different VSTS instance and it worked there. The first is my production environment that was set up in June this year. The 2nd instance is a personal instance set up several years ago. I've attached a screenshot with the error. multivalue

mmanela commented 7 years ago

You need to set the picklist to let user's add their own values: image

Palasin commented 7 years ago

trying to add this control to one of our work items. please suggest what is wrong in following

can u upload a sample work item definition file

rlheman commented 7 years ago

Thank you. That seemed to work.

On Nov 22, 2016 12:30 PM, "Palasin" notifications@github.com wrote:

trying to add this control to one of our work items. please suggest what is wrong in following

can u upload a sample work item definition file

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Microsoft/vsts-extension-multivalue-control/issues/5#issuecomment-262340720, or mute the thread https://github.com/notifications/unsubscribe-auth/AS7CBosvdZ-3tOV3BR05hLF_wUqoB_7Yks5rA0LKgaJpZM4K5zZC .

Palasin commented 7 years ago

can u upload a sample workitemdefiniton file which uses this control

rlheman commented 7 years ago

We are using Visual Studio Team Services so I do not have a workitemdefinition that I can post.

sGambolati commented 7 years ago

How is translated the check: "Allow users to enter their own values" into the XML? I have tried the ALLOWEXISTINGVALUE and had the same error.

rlheman commented 7 years ago

Sebastian have you tried SuggestedValues? That lets you create an initial list but a user can add something else if they want (at least that's how I remember it working when I was using TFS).

sGambolati commented 7 years ago

Thanks! Solved using the SuggestedValues!