You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 12, 2021. It is now read-only.
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()
The text was updated successfully, but these errors were encountered:
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()
The text was updated successfully, but these errors were encountered: