Graphite: Make Graphite config page more accessible (#43333) (#43609)

(cherry picked from commit 7682eabd29)

Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>
This commit is contained in:
Grot (@grafanabot)
2022-01-03 10:36:42 +01:00
committed by GitHub
co-authored by Piotr Jamróz
parent 6ef5e4a523
commit 80ccb3966b
@@ -80,6 +80,7 @@ export class ConfigEditor extends PureComponent<Props, State> {
Version
</InlineFormLabel>
<Select
aria-label="Graphite version"
menuShouldPortal
value={currentVersion}
options={graphiteVersions}
@@ -92,6 +93,7 @@ export class ConfigEditor extends PureComponent<Props, State> {
<div className="gf-form">
<InlineFormLabel tooltip={this.renderTypeHelp}>Type</InlineFormLabel>
<Select
aria-label="Graphite backend type"
menuShouldPortal
options={graphiteTypes}
value={graphiteTypes.find((type) => type.value === options.jsonData.graphiteType)}