microsoft / vsts-extension-multivalue-control

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

Possible to remove "Select All" or change functionality so it doesn't add all options? #97

Closed nbdb closed 5 years ago

nbdb commented 5 years ago

We have a pretty long picklist the runs up against the character limit if we use the Select All choice. If it were possible to have an option where "Select All" could be turned off, so we can replace it with the string "All" in the dropdown, it'd fix the problem for us.

ostreifel commented 5 years ago

Make sure you are using the multi line backing field. It will support up to 32k characters.

image

nbdb commented 5 years ago

Oh that works, thanks!

ostreifel commented 5 years ago

For future readers.

I ran some tests with the extension using 20 thousand options for the multivalue control. I think value limit for multi line fields has actually been raised well beyond 32k characters to the point that other issues take precedence well before the ability to save the work item (browser perf trying to load that many options, usibility of reading that many options etc.) image Screen shot is using acceptance criteria as the backing field. image

VolicTV commented 5 years ago

I have 2 questions:

  1. For our use, we will never be using the "Select All" Field. Is it possible to fully remove it? We are on TFS 2018 Update 3, so all XML based configurations.
  2. We have a selection called "No Business Priority" (use case scenario), I want to set it so that when that is selected, nothing else can be selected.