Closed kestarumper closed 1 month ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 94.19%. Comparing base (
d2b924a
) to head (f51be5f
). Report is 1 commits behind head on master.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
@piotrpospiech
Playground link doesn't work for me (I installed dependencies, built everything and started doc website). I've got this error:
TypeError: Cannot read properties of undefined (reading 'length')
Works for me.
I run npm run reset && npm ci
(node v20.10.0).
@kestarumper I tried it with Node v20.10
and npm 10.2.5
. I ran npm run reset && npm ci
. Still the same issue:
TypeError: Cannot read properties of undefined (reading 'length')
However, it is working for @Monteth.
Closes #1066.
Changes
initialValues
taken fromschema
(Bridge
) -schema.model
andprops.model
and the latter one takes precedence__tests__
only)render(...)
changed wrapper from<context.Provider>
to<AutoForm>
because it changed behavior of<ListField>
(the list of child fields was incorrect)Notes
Field.onChange
of the fields that set theirinitialValue
on the first render. However, the fields that are rendered after, e.g., after adding another field in anArray
, or due to conditional rendering, will still triggerField.onChange
.Example