stimulus-library icon indicating copy to clipboard operation
stimulus-library copied to clipboard

NestedFormController not triggering useDirtyInputTracking when deleting persisted nested record

Open gap777 opened this issue 4 months ago • 2 comments

  • NestedFormController sets the value on the destroyed input without triggering an event: destroyInput.value = "1";
  • useDirtyInputTracking will only updated based on input or change events

Thus, NestedFormController will not mark the hidden input dirty.

Can you fix NestedFormController?

Thanks!

gap777 avatar Aug 31 '25 13:08 gap777