diff --git a/src/sql/workbench/browser/modelComponents/dropdown.component.ts b/src/sql/workbench/browser/modelComponents/dropdown.component.ts index 99747f628f..7546dbccd6 100644 --- a/src/sql/workbench/browser/modelComponents/dropdown.component.ts +++ b/src/sql/workbench/browser/modelComponents/dropdown.component.ts @@ -96,9 +96,13 @@ export default class DropDownComponent extends ComponentBase { - if (!this.editable) { + // also update the selected value here while in accessibility mode since the read-only selectbox + // is used even if the editable flag is true + if (!this.editable || (this._isInAccessibilityMode && !this.loading)) { this.setSelectedValue(e.selected); await this.validate(); + } + if (!this.editable) { // This is currently sending the ISelectData as the args, but to change this now would be a breaking // change for extensions using it. So while not ideal this should be left as is for the time being. this.fireEvent({