nested_form icon indicating copy to clipboard operation
nested_form copied to clipboard

Deleted itens reapers when validation fails

Open fazelmk opened this issue 10 years ago • 2 comments

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()

fazelmk avatar Jan 17 '15 11:01 fazelmk

:+1: Same issue. Would be nice to just delete something and forget about it.

dahbearz avatar Mar 16 '15 22:03 dahbearz

Duplicate of #346

Startouf avatar Apr 12 '15 15:04 Startouf