|
|
@ -115,7 +115,13 @@ export function ThresholdsEditor({ onChange, value, context }: StandardEditorPro |
|
|
|
placeholder="value" |
|
|
|
placeholder="value" |
|
|
|
width={24} |
|
|
|
width={24} |
|
|
|
value={threshold.value} |
|
|
|
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> |
|
|
|
</InlineField> |
|
|
|