mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-15 01:25:36 -05:00
added option to mode view input box to create the input as text area (#1630)
* added option to create input as multi line * added min and max for input box
This commit is contained in:
@@ -560,6 +560,34 @@ class InputBoxWrapper extends ComponentWrapper implements sqlops.InputBoxCompone
|
||||
this.setProperty('height', v);
|
||||
}
|
||||
|
||||
public get rows(): number {
|
||||
return this.properties['rows'];
|
||||
}
|
||||
public set rows(v: number) {
|
||||
this.setProperty('rows', v);
|
||||
}
|
||||
|
||||
public get min(): number {
|
||||
return this.properties['min'];
|
||||
}
|
||||
public set min(v: number) {
|
||||
this.setProperty('min', v);
|
||||
}
|
||||
|
||||
public get max(): number {
|
||||
return this.properties['max'];
|
||||
}
|
||||
public set max(v: number) {
|
||||
this.setProperty('max', v);
|
||||
}
|
||||
|
||||
public get columns(): number {
|
||||
return this.properties['columns'];
|
||||
}
|
||||
public set columns(v: number) {
|
||||
this.setProperty('columns', v);
|
||||
}
|
||||
|
||||
public get width(): number {
|
||||
return this.properties['width'];
|
||||
}
|
||||
@@ -567,6 +595,13 @@ class InputBoxWrapper extends ComponentWrapper implements sqlops.InputBoxCompone
|
||||
this.setProperty('width', v);
|
||||
}
|
||||
|
||||
public get multiline(): boolean {
|
||||
return this.properties['multiline'];
|
||||
}
|
||||
public set multiline(v: boolean) {
|
||||
this.setProperty('multiline', v);
|
||||
}
|
||||
|
||||
public get inputType(): sqlops.InputBoxInputType {
|
||||
return this.properties['inputType'];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user