mirror of
https://github.com/grafana/grafana.git
synced 2025-09-28 02:43:55 +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:
@ -43,7 +43,7 @@ export const PredictablePulseEditor = ({ onChange, query }: EditorProps) => {
|
||||
width={32}
|
||||
type="number"
|
||||
name={id}
|
||||
id={`pulseWave.${id}`}
|
||||
id={`pulseWave.${id}-${query.refId}`}
|
||||
value={query.pulseWave?.[id as keyof PulseWaveQuery]}
|
||||
placeholder={placeholder}
|
||||
onChange={onInputChange}
|
||||
|
Reference in New Issue
Block a user