Adding lists support in text component (#17065)

* Adding lists support in text component

* Fixing get textType

* Code cleanup

* Combining values into value
This commit is contained in:
Aasim Khan
2021-09-14 12:43:14 -07:00
committed by GitHub
parent 32e6a24115
commit 95e82d53e6
10 changed files with 79 additions and 37 deletions

View File

@@ -1350,10 +1350,10 @@ class TextComponentWrapper extends ComponentWrapper implements azdata.TextCompon
this.properties = {};
}
public get value(): string {
public get value(): string | string[] {
return this.properties['value'];
}
public set value(v: string) {
public set value(v: string | string[]) {
this.setProperty('value', v);
}