mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Add aria-label to kube config input box (#15743)
This commit is contained in:
@@ -18,12 +18,15 @@ export class FilePicker {
|
||||
public readonly filePickerButton: azdata.ButtonComponent;
|
||||
constructor(
|
||||
modelBuilder: azdata.ModelBuilder,
|
||||
initialPath: string, onNewDisposableCreated: (disposable: vscode.Disposable) => void
|
||||
initialPath: string,
|
||||
onNewDisposableCreated: (disposable: vscode.Disposable) => void,
|
||||
ariaLabel: string
|
||||
) {
|
||||
const buttonWidth = 80;
|
||||
this.filePathInputBox = modelBuilder.inputBox()
|
||||
.withProperties<azdata.InputBoxProperties>({
|
||||
value: initialPath,
|
||||
ariaLabel: ariaLabel,
|
||||
width: 350
|
||||
}).component();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user