mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-03-17 03:21:40 -04:00
Refactor create inputbox method (#24113)
Co-authored-by: Charles Gagnon <chgagnon@microsoft.com>
This commit is contained in:
@@ -107,9 +107,14 @@ export class LoginDialog extends PrincipalDialogBase<Login, LoginViewInfo> {
|
||||
}
|
||||
|
||||
private initializeGeneralSection(): void {
|
||||
this.nameInput = this.createInputBox(objectManagementLoc.NameText, async (newValue) => {
|
||||
this.nameInput = this.createInputBox(async (newValue) => {
|
||||
this.objectInfo.name = newValue;
|
||||
}, this.objectInfo.name, this.options.isNewObject);
|
||||
}, {
|
||||
ariaLabel: objectManagementLoc.NameText,
|
||||
inputType: 'text',
|
||||
enabled: this.options.isNewObject,
|
||||
value: this.objectInfo.name
|
||||
});
|
||||
|
||||
const nameContainer = this.createLabelInputContainer(objectManagementLoc.NameText, this.nameInput);
|
||||
this.authTypeDropdown = this.createDropdown(objectManagementLoc.AuthTypeText,
|
||||
|
||||
Reference in New Issue
Block a user