mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-15 01:25:36 -05:00
add missing get and set in extHostModelView for title and validationErrorMessage (#13095)
This commit is contained in:
@@ -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<any> {
|
||||
let emitter = this._emitterMap.get(ComponentEventType.onDidChange);
|
||||
return emitter && emitter.event;
|
||||
|
||||
Reference in New Issue
Block a user