diff --git a/src/components/InputNumber/InputNumber.tsx b/src/components/InputNumber/InputNumber.tsx index 1a552b84..54694ad5 100644 --- a/src/components/InputNumber/InputNumber.tsx +++ b/src/components/InputNumber/InputNumber.tsx @@ -55,7 +55,7 @@ function InputNumber({ fieldLevelValidation, } = useFormContext() - if (values && !value) value = values[id] + if (values && !value) value = values[id || name] function handleBlurEvent(e: React.FocusEvent) { if (handleBlur) handleBlur(e)