[v10.1.x] AdHocVars: Allow selecting datasource variable from data source picker (#74337)
AdHocVars: Allow selecting datasource variable from data source picker (#74192)
(cherry picked from commit 3777ae0275)
Co-authored-by: kay delaney <45561153+kaydelaney@users.noreply.github.com>
This commit is contained in:
co-authored by
kay delaney
parent
1756bf01d7
commit
69038b2ab0
@@ -64,7 +64,13 @@ export class AdHocVariableEditorUnConnected extends PureComponent<Props> {
|
||||
<>
|
||||
<VariableLegend>Ad-hoc options</VariableLegend>
|
||||
<Field label="Data source" htmlFor="data-source-picker">
|
||||
<DataSourcePicker current={variable.datasource} onChange={this.onDatasourceChanged} width={30} noDefault />
|
||||
<DataSourcePicker
|
||||
current={variable.datasource}
|
||||
onChange={this.onDatasourceChanged}
|
||||
width={30}
|
||||
variables={true}
|
||||
noDefault
|
||||
/>
|
||||
</Field>
|
||||
|
||||
{infoText ? <Alert title={infoText} severity="info" /> : null}
|
||||
|
||||
Reference in New Issue
Block a user