mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-15 01:25:36 -05:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user