mirror of https://github.com/grafana/grafana.git
Test Data Source: Allow inputs to render `0` values (#107578)
This commit is contained in:
parent
f2ffdd39ca
commit
a1f1196352
|
|
@ -47,7 +47,7 @@ export const RandomWalkEditor = ({ onChange, query }: EditorProps) => {
|
|||
id={`randomWalk-${id}-${query.refId}`}
|
||||
min={min}
|
||||
step={step}
|
||||
value={(query as any)[id as keyof TestDataDataQuery] || placeholder}
|
||||
value={(query as any)[id as keyof TestDataDataQuery] ?? placeholder}
|
||||
placeholder={placeholder}
|
||||
onChange={onChange}
|
||||
/>
|
||||
|
|
|
|||
Loading…
Reference in New Issue