mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-20 01:25:37 -05:00
fix duplicate required indicator (#22976)
This commit is contained in:
@@ -43,6 +43,7 @@ import { AdsWidget } from 'sql/base/browser/ui/adsWidget';
|
||||
import { createCSSRule } from 'vs/base/browser/dom';
|
||||
import { AuthLibrary, getAuthLibrary } from 'sql/workbench/services/accountManagement/utils';
|
||||
import { adjustForMssqlAppName } from 'sql/platform/connection/common/utils';
|
||||
import { RequiredIndicatorClassName } from 'sql/base/browser/ui/label/label';
|
||||
|
||||
const ConnectionStringText = localize('connectionWidget.connectionString', "Connection string");
|
||||
|
||||
@@ -362,7 +363,7 @@ export class ConnectionWidget extends lifecycle.Disposable {
|
||||
if (optionAction.required) {
|
||||
let element = DialogHelper.getOptionContainerByName(this._tableContainer, optionAction.optionName);
|
||||
if (element) {
|
||||
DialogHelper.appendRequiredIndicator(element);
|
||||
element.classList.add(RequiredIndicatorClassName);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user