mirror of
https://github.com/Microsoft/vscode
synced 2024-11-05 18:29:38 +00:00
adjust textarea maxlength
This commit is contained in:
parent
3881282c8d
commit
5b10e423a1
1 changed files with 1 additions and 0 deletions
|
@ -215,6 +215,7 @@ export class FeedbackDropdown extends Dropdown {
|
|||
this.sentiment = smile ? 1 : 0;
|
||||
this.maxFeedbackCharacters = this.feedbackService.getCharacterLimit(this.sentiment);
|
||||
this.updateCharCountText();
|
||||
$(this.feedbackDescriptionInput).attr({ maxlength: this.maxFeedbackCharacters });
|
||||
}
|
||||
|
||||
protected invoke(element: Builder, callback: () => void): Builder {
|
||||
|
|
Loading…
Reference in a new issue