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
LR.utils.scrubForm=function(form){form.removeAttribute("deer-id")form.removeAttribute("deer-source")form.querySelectorAll(LR.INPUTS.join(",")).forEach(i=>{//Anything you need to ignore should go hereif(i.getAttribute("type")!=="submit"&&i.getAttribute("deer-key")!=="creator"){i.value=""i.removeAttribute("deer-source")i.removeAttribute("deeer-id")}})}
We should be able to put some flag on a form so it knows to do this upon submission so that this form will create a new object on the next submissions, not update the object it just made.
The text was updated successfully, but these errors were encountered:
When DEER needs to reset a form, it really means
We should be able to put some flag on a form so it knows to do this upon submission so that this form will create a new object on the next submissions, not update the object it just made.
The text was updated successfully, but these errors were encountered: