mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-09 09:42:34 -05:00
See and Edit Selected Links in Callout Dialog (#14987)
* Add URL label to linkCallout * add test for file link
This commit is contained in:
@@ -45,6 +45,7 @@ export class LinkCalloutDialog extends Modal {
|
||||
dialogPosition: DialogPosition,
|
||||
dialogProperties: IDialogProperties,
|
||||
private readonly _defaultLabel: string = '',
|
||||
private readonly _defaultLinkUrl: string = '',
|
||||
@IContextViewService private readonly _contextViewService: IContextViewService,
|
||||
@IThemeService themeService: IThemeService,
|
||||
@ILayoutService layoutService: ILayoutService,
|
||||
@@ -134,6 +135,7 @@ export class LinkCalloutDialog extends Modal {
|
||||
placeholder: constants.linkAddressPlaceholder,
|
||||
ariaLabel: constants.linkAddressLabel
|
||||
});
|
||||
this._linkUrlInputBox.value = this._defaultLinkUrl;
|
||||
DOM.append(linkAddressRow, linkAddressInputContainer);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user