We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 539add9 commit 955aea0Copy full SHA for 955aea0
packages/form-state-manager/src/files/use-field.ts
@@ -195,6 +195,8 @@ const useField = ({
195
valueToReturn = valueToReturn.inputValue;
196
}
197
198
+ const { initialValue, ...clearedProps } = props;
199
+
200
return {
201
input: {
202
value: valueToReturn,
@@ -207,7 +209,7 @@ const useField = ({
207
209
checked
208
210
},
211
meta: state!.meta,
- ...props
212
+ ...clearedProps
213
};
214
215
0 commit comments