form submission is cancelled because the form is not connected angular code example
Example: Form submission canceled because the form is not connected
<button type="submit">Submit</button>
<button type="button">Other</button>
<button type="submit">Submit</button>
<button type="button">Other</button>