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

@@ -82,7 +82,8 @@ export default class MainController implements vscode.Disposable {
tab1.registerContent(async (view) => {
let inputBox = view.modelBuilder.inputBox()
.withProperties({
//width: 300
multiline: true,
height: 100
}).component();
let inputBoxWrapper = view.modelBuilder.loadingComponent().withItem(inputBox).component();
inputBoxWrapper.loading = false;