mirror of
https://github.com/grafana/grafana.git
synced 2025-09-28 21:54:26 +08:00
Add unique ids to query editor fields (#28376)
* Add unique ids to query editor fields * Update public/app/plugins/datasource/testdata/components/RandomWalkEditor.tsx Co-authored-by: Ryan McKinley <ryantxu@gmail.com> Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
This commit is contained in:
@ -27,7 +27,7 @@ export const RandomWalkEditor = ({ onChange, query }: EditorProps) => {
|
||||
width={32}
|
||||
name={id}
|
||||
type="number"
|
||||
id={id}
|
||||
id={`randomWalk-${id}-${query.refId}`}
|
||||
min={min}
|
||||
step={step}
|
||||
value={query[id as keyof TestDataQuery] || placeholder}
|
||||
|
Reference in New Issue
Block a user