Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

page reloads when route changed from form submission #1238

@IgorMinar

Description

@IgorMinar

Scenario:

  • app with routes
  • one route represents a view with a form
  • the form has a submit event handler (ng-click on submit button) that triggers $location change which causes $route change
  • when form is submitted, a full page reload occurs and the "preventDefault" request from the form directive is not honored.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions