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:
Leila Lali
2018-06-13 16:32:34 -07:00
committed by GitHub
parent df18359309
commit 30b111034d
5 changed files with 190 additions and 43 deletions

View File

@@ -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'];
}