Designer: property descriptions (#17668)

* format

* added strings

* format doc

* use codicon instead

* show descriptions in property pane only

* fix ssdt string bug

* fix overflow option

* review comments

* review comments

* changes
This commit is contained in:
Aditya Bist
2021-11-16 14:50:05 -08:00
committed by GitHub
parent 6725e07ece
commit 2a127beb28
8 changed files with 119 additions and 1 deletions

View File

@@ -41,6 +41,9 @@ export class InputBox extends vsInputBox {
private _onLoseFocus = this._register(new Emitter<OnLoseFocusParams>());
public onLoseFocus: Event<OnLoseFocusParams> = this._onLoseFocus.event;
private _onInputFocus = this._register(new Emitter<void>());
public onInputFocus: Event<void> = this._onInputFocus.event;
private _isTextAreaInput = false;
private _hideErrors = false;
@@ -58,6 +61,10 @@ export class InputBox extends vsInputBox {
self._lastLoseFocusValue = self.value;
});
this.onfocus(this.inputElement, () => {
self._onInputFocus.fire();
});
if (_sqlOptions && _sqlOptions.type === 'textarea') {
this._isTextAreaInput = true;
}