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

Đang mở
#632 1 bình luận 0 reaction 1 người được giao Xem trên GitHub

@ZenMasterJacob20011 đang làm issue này rồi.

Từ ngày 28/1/2026.

  • #634 của @prem22k — đã đóng, không merge

Đánh giá

Issue này chưa được đánh giá.

Mô tả

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
Ngôn ngữ chính
TypeScript
Star
371
Fork
309
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của formio/react

Tất cả issue của formio/react

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.