From 4587fd06c3e88c562ee330bbc010d454cd4f9436 Mon Sep 17 00:00:00 2001 From: Kim Santiago <31145923+kisantia@users.noreply.github.com> Date: Tue, 27 Oct 2020 15:30:35 -0700 Subject: [PATCH] add missing get and set in extHostModelView for title and validationErrorMessage (#13095) --- src/sql/workbench/api/common/extHostModelView.ts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/sql/workbench/api/common/extHostModelView.ts b/src/sql/workbench/api/common/extHostModelView.ts index ec82710c9b..c62b17d3ba 100644 --- a/src/sql/workbench/api/common/extHostModelView.ts +++ b/src/sql/workbench/api/common/extHostModelView.ts @@ -973,6 +973,13 @@ class InputBoxWrapper extends ComponentWrapper implements azdata.InputBoxCompone this.setProperty('placeHolder', v); } + public get title(): string { + return this.properties['title']; + } + public set title(v: string) { + this.setProperty('title', v); + } + public get rows(): number { return this.properties['rows']; } @@ -1022,6 +1029,13 @@ class InputBoxWrapper extends ComponentWrapper implements azdata.InputBoxCompone this.setProperty('stopEnterPropagation', v); } + public get validationErrorMessage(): string { + return this.properties['validationErrorMessage']; + } + public set validationErrorMessage(v: string) { + this.setProperty('validationErrorMessage', v); + } + public get onTextChanged(): vscode.Event { let emitter = this._emitterMap.get(ComponentEventType.onDidChange); return emitter && emitter.event;