Difference between eachComponentData and eachComponentDataAsync

Open
#292 1 comment 1 reaction 1 assignee View on GitHub

@jeriah-formio is already working on this.

Since Feb 11, 2026.

Assessment

This issue has not been assessed yet.

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:

  1. Write a custom processor
  2. log components
  3. Use form with empty datagrid
  4. 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

Dominant language
TypeScript
Stars
15
Forks
16
PR merge metrics
No merged PRs in 30d

Getting set up

  • No Dockerfile or Docker Compose file
  • Has a pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from formio/core

All issues in formio/core

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.