I figured that I can add an event listener
this.formTarget.addEventListener("turbo:submit-start", listener). But in an ideal world, I want to have an option to cancel it.
Right now I end-up doing
submit-start, but I still think it’s not ideal way.
Does anyone figure out a way to do this?