Skip to content

Uncaught TypeError #1233

Closed
Closed
@rvsia

Description

@rvsia

Discussed in #1232

Originally posted by Ali-Zmn April 12, 2022
Sometimes when my initial values in FormRenderer does not include all fields, I face this error:
Uncaught TypeError: Cannot read properties of undefined (reading 'initial') at eval (condition.js?3893:72:1)
I would assume if the initial value is not in FormRenderer initialValues it would pick the Schema initialValue and if no initial value is provided in the schema, it should keep it empty, right?

I couldn't reproduce it in codesandbox and in my code, if I rerender my component (reload) a couple of times, it works fine!
Do you have any idea?

Screen Shot 2022-04-12 at 11 24 39

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingreleasedrendererReact form renderer PR

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions