onChange `modified` property remains false when file component is updated

Open
#632 1 comment 0 reactions 1 assignee View on GitHub

@ZenMasterJacob20011 is already working on this.

Since Jan 28, 2026.

  • #634 by @prem22k — closed without merging

Assessment

This issue has not been assessed yet.

Description

Describe the bug
The onChange callback in the form component does not properly detect modifications when file upload fields are updated. The modified parameter remains false for file components, preventing the form state from being saved. This issue does not affect other field types (text inputs, dropdowns, etc.), which correctly report modified: true when changed.

Expected behavior

  • File upload/removal should trigger onChange with modified: true
  • Form state should update to reflect file changes

Screenshots
N/A

Desktop (please complete the following information):

  • Browser Chrome
  • Version 143
Dominant language
TypeScript
Stars
371
Forks
309
PR merge metrics
No merged PRs in 30d

Getting set up

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/react

All issues in formio/react

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.