mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-19 17:22:48 -05:00
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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
@@ -897,5 +897,7 @@ export enum ButtonType {
|
||||
|
||||
export enum TextType {
|
||||
Normal = 'Normal',
|
||||
Error = 'Error'
|
||||
Error = 'Error',
|
||||
UnorderedList = 'UnorderedList',
|
||||
OrderedList = 'OrderedList'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user