mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-12-21 09:51:11 +00:00
Fixed a11y graph new vertex dropdown issue
This commit is contained in:
@@ -165,7 +165,6 @@ export const NewVertexComponent: FunctionComponent<INewVertexComponentProps> = (
|
|||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<Dropdown
|
<Dropdown
|
||||||
role="listbox"
|
|
||||||
placeholder="Select an option"
|
placeholder="Select an option"
|
||||||
defaultSelectedKey={data.values[0].type}
|
defaultSelectedKey={data.values[0].type}
|
||||||
style={{ width: 100 }}
|
style={{ width: 100 }}
|
||||||
@@ -174,6 +173,7 @@ export const NewVertexComponent: FunctionComponent<INewVertexComponentProps> = (
|
|||||||
text: type,
|
text: type,
|
||||||
}))}
|
}))}
|
||||||
onChange={(_, options: IDropdownOption) => onTypeChange(options.key.toString(), index)}
|
onChange={(_, options: IDropdownOption) => onTypeChange(options.key.toString(), index)}
|
||||||
|
ariaLabel="Select an option"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div className="actionCol">
|
<div className="actionCol">
|
||||||
|
|||||||
Reference in New Issue
Block a user