stimulus-library
stimulus-library copied to clipboard
NestedFormController not triggering useDirtyInputTracking when deleting persisted nested record
- NestedFormController sets the value on the destroyed input without triggering an event:
destroyInput.value = "1"; - useDirtyInputTracking will only updated based on
inputorchangeevents
Thus, NestedFormController will not mark the hidden input dirty.
Can you fix NestedFormController?
Thanks!