-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
Describe the bug
eachComponentData behaves different from eachComponentDataAsync
https://github.com/formio/core/blob/main/src/utils/formUtil/eachComponentData.ts#L113
vs.
https://github.com/formio/core/blob/main/src/utils/formUtil/eachComponentDataAsync.ts#L108
in the async case less components are visited (especially inside grids
Version/Branch
Main branch
To Reproduce
Steps to reproduce the behavior:
- Write a custom processor
- log components
- Use form with empty datagrid
- process() differs in the log output compared to processSync()
Expected behavior
The same components are visited.
Screenshots
Additional context
I expected this two methods to behave similar, but the async version visits less components than the sync variant. Is this behaviour intended? At least i expect that processors should visit the same components in both cases
Basti237
Metadata
Metadata
Assignees
Labels
No labels