Open sakovias opened 7 years ago
There's a workaround to reset the subform to a "default" state. In the case of the above example, we can clear the subform when the box B is unchecked. We're going loose the state of the subform, but the modified
flag will stay correct.
Hi @slavafomin, that's a great library, really liking it.
Here's an issue I came across when working with "nested" forms. I've checked that it occurs on versions 2.3.2 and 2.4.2 (possibly others). I have a
form
with a nestedng-form
, the former gets toggled withng-if
. It looks like I can trick it into a "modified" state.Here's the Plunker: https://plnkr.co/edit/YuYuG6M3SGWYiFE3jBKa?p=preview.
Please let me know if there's a workaround and/or fix. Appreciate your help!