Skip to content
This repository was archived by the owner on Jan 14, 2021. It is now read-only.

Commit 25c61a6

Browse files
committed
fix #29 value change no longer change
1 parent c7e3439 commit 25c61a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ const RHFInput = ({
128128
}
129129
: { onBlur: handleBlur }
130130
: {}),
131-
value: value || inputValue || '',
131+
value: inputValue || value || '',
132132
...(isCheckbox ? { checked: inputValue } : {}),
133133
...rest,
134134
};

0 commit comments

Comments
 (0)