|
|
|
@ -115,7 +115,13 @@ export function ThresholdsEditor({ onChange, value, context }: StandardEditorPro
|
|
|
|
|
placeholder="value" |
|
|
|
|
width={24} |
|
|
|
|
value={threshold.value} |
|
|
|
|
onChange={(evt) => onThresholdFieldChange(thresholdIdx, 'value', isNumber(evt.currentTarget.value) ? +evt.currentTarget.value : undefined)} |
|
|
|
|
onChange={(evt) => |
|
|
|
|
onThresholdFieldChange( |
|
|
|
|
thresholdIdx, |
|
|
|
|
'value', |
|
|
|
|
isNumber(evt.currentTarget.value) ? +evt.currentTarget.value : undefined |
|
|
|
|
) |
|
|
|
|
} |
|
|
|
|
/> |
|
|
|
|
)} |
|
|
|
|
</InlineField> |
|
|
|
|