nested_form
nested_form copied to clipboard
Deleted itens reapers when validation fails
When I delete a nested item and submit, if the validation fails the render form show the deleted itens. It keeps marked _destroy = true. but it shows in the form.
when destroy it marks the fields div as display: none and reloaded by validation failed it don't. I created a js.coffee to solve it outside nested_form script file.
jQuery -> $(".marked_for_destruction").hide()
:+1: Same issue. Would be nice to just delete something and forget about it.
Duplicate of #346