mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-14 09:59:47 -05:00
fix input box issues (#15587)
This commit is contained in:
@@ -93,6 +93,16 @@ export class InputBox extends vsInputBox {
|
||||
public setHeight(value: string) {
|
||||
if (this._isTextAreaInput) {
|
||||
this.inputElement.style.height = value;
|
||||
this.inputElement.style.whiteSpace = 'normal';
|
||||
}
|
||||
}
|
||||
|
||||
public setMaxLength(value: number | undefined) {
|
||||
if (value === undefined) {
|
||||
this.inputElement.removeAttribute('maxLength');
|
||||
}
|
||||
else {
|
||||
this.inputElement.maxLength = value;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user