Test Data Source: Allow inputs to render `0` values (#107578)

This commit is contained in:
Sven Grossmann 2025-07-04 08:33:33 +02:00 committed by GitHub
parent f2ffdd39ca
commit a1f1196352
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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}
/>