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 07634d4 commit aa90df6Copy full SHA for aa90df6
packages/react-form-renderer/src/use-field-api/use-field-api.js
@@ -121,7 +121,11 @@ const useFieldApi = ({
121
dataType,
122
type: combinedProps.type,
123
...(Object.prototype.hasOwnProperty.call(combinedProps, 'initialValue')
124
- ? {initialValue: combinedProps.initialValue}
+ ? { initialValue: combinedProps.initialValue }
125
+ : {}
126
+ ),
127
+ ...(Object.prototype.hasOwnProperty.call(combinedProps, 'value')
128
+ ? { value: combinedProps.value }
129
: {}
130
),
131
...FieldProps,
0 commit comments