Answers for "button inside the form submits data on click instead of the actual submit button angular"

1

click on button submitting the form in angular

// type button required otherwise it will submit the form 
<button type="button" (click)="preview();">Preview</button>
Posted by: Guest on August-18-2020

Code answers related to "button inside the form submits data on click instead of the actual submit button angular"

Code answers related to "Javascript"

Browse Popular Code Answers by Language