Comments (5)
Hello everyone, we appreciate your contributions to the community. The issues have been resolved.
from vsts-extension-multivalue-control.
We are also experiencing this issue. It used to work, and now it does not. The custom value we have entered on the control extension is 75. I attempted to correct this issue by clearing out the value and saving (thus reverting to the default 35 character limit), and then going back into the control extension and setting the value back to 75 and then saving. This made no difference.
The display is showing 30 characters, plus the periods (i.e. ...), so not even the 35 which is supposed to be the default value.
I have confirmed this issue is affecting our multivalue controls in two separate Azure DevOps processes (both within the same organization).
from vsts-extension-multivalue-control.
@AminTi my colleague @AlbertArulPrakash found below:
The error seems to be in the file \src\MultiValueControl.tsx
Line 109: label={this._wrapText(o.length > 30 ? ${o.slice(0, 30)}...
: o)}
this line should use the property named _labelDisplayLength which can be configured (default value 35).
from vsts-extension-multivalue-control.
I think Line 109 should probably just be: label={this._wrapText(o)}
because the _wrapText function handles adding the ellipsis if the length of the label text is greater than the _labelDisplayLength property.
private _wrapText(text: string){
return text.length > this._labelDisplayLength ? `${text.slice(0,this._labelDisplayLength)}...` : text;
}
from vsts-extension-multivalue-control.
I think Line 109 should probably just be: label={this._wrapText(o)} because the _wrapText function handles adding the ellipsis if the length of the label text is greater than the _labelDisplayLength property.
private _wrapText(text: string){ return text.length > this._labelDisplayLength ? `${text.slice(0,this._labelDisplayLength)}...` : text; }
using _labelDisplayLength can be configured (using config files located in config folder. By default it is 35 characters.
Line 34 in same file has the initiator of _labelDisplayLength:
private readonly _labelDisplayLength: number = VSS.getConfiguration().witInputs.LabelDisplayLength ? VSS.getConfiguration().witInputs.LabelDisplayLength : 35;
The azure-devops-extension.json contains the info about this.
from vsts-extension-multivalue-control.
Related Issues (20)
- Multivalue extension field can't be mandatory with rules control
- Error displaying on multi select HOT 2
- Scroll bar not visible with a large number of elements HOT 2
- Get work item field binding info with Multivalue control HOT 1
- Multivalue control does not work In Test Plan HOT 3
- Multi value field is not loading for some user HOT 2
- Field description not displaying when using New Boards Hubs HOT 1
- Azure DevOps Marketplace Extension Update? HOT 3
- maximum display length" setting is not taking effect HOT 4
- Multivalue control by Microsoft DevLabs is taking longer than expected to load HOT 1
- Cannot Filter / Find Values from backlog view when not the first value HOT 3
- Making the delimiter ';' used configurable HOT 2
- Combination of Multivalues are not allowed, however to set particular combination is optional HOT 1
- Total Character Limit for Multiple Items HOT 4
- Unable to select multiple values, Select all is not working after certain limit HOT 3
- Extn doesn't take the latest picklist value which is controlled by Cascading List extension HOT 5
- How can I set Multivalue Control fields using Logic App? HOT 1
- Multi work items select can not edit(add) because edit would remove all previous values and only add the new value HOT 6
- Azure Devops not showing as Required Field (icon missing) HOT 1
- Error when opening work item with multi value control: Active work item document does not exist in the current context HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vsts-extension-multivalue-control.