Giter Club home page Giter Club logo

Comments (7)

benmarch avatar benmarch commented on July 16, 2024

Hi @blairmotchan, I have not been able to reproduce this issue. I tried just adding the following markup to the page and pausing a tour, but onSubmit() was never called:

<form ng-submit="onSubmit()">
    Test: <input type="text">
</form>

I can't find anything in the code that would cause onSubmit() to be called unless it is also set as the onPause or onEnd callback. Do you have an example that I can look at?

from angular-ui-tour.

benmarch avatar benmarch commented on July 16, 2024

Hi @blairmotchan, any update on this?

from angular-ui-tour.

blairmotchan avatar blairmotchan commented on July 16, 2024

Very sorry - I have been too busy and did not get a chance to go back and look into this for you. This weekend I'll see if I can generalize my code and reproduce the error. Thank you!

from angular-ui-tour.

benmarch avatar benmarch commented on July 16, 2024

Cool, no problem, thank you!

from angular-ui-tour.

blairmotchan avatar blairmotchan commented on July 16, 2024

I have not had a chance to come back to this. I'll just close the issue because you looked into and could not reproduce. It's not stopping me or blocking me by any means.

Thank you very much for looking into this issue.

from angular-ui-tour.

kameelyan avatar kameelyan commented on July 16, 2024

Wanted to point out that I'm experiencing this same issue right now. Still investigating, and I can't put my code out on the web right now, but just wanted to point it out.

from angular-ui-tour.

kameelyan avatar kameelyan commented on July 16, 2024

Ok, so it's not firing that event, but what it is firing is my form validation checks. So for some reason it's thinking the form is being submitted. This is happening because you are missing type="button" on the buttons you're creating for the tours. I'll submit a separate bug.

from angular-ui-tour.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.