Try to add the type="button" attribute to the buttons which are not the
submit button.
Angular sets all buttons to type="submit" by default

*Bastien Lemaire*


On Mon, 20 Jul 2020 at 14:37, Maureen Moore <[email protected]> wrote:

> I changed the buttons to anchors but it's still submitting via the click
> function.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Angular and AngularJS discussion" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/angular/ac7e3f4c-a7b6-4e9d-a155-ec21ec729af2o%40googlegroups.com
> <https://groups.google.com/d/msgid/angular/ac7e3f4c-a7b6-4e9d-a155-ec21ec729af2o%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/angular/CAJ7E9zEANOvWeN5vBd_tL0poNZCuD0mcHnv_nXy6RLTSGgA-Aw%40mail.gmail.com.

Reply via email to