GithubHelp home page GithubHelp logo

Comments (7)

mikethm avatar mikethm commented on April 20, 2024

Is this because it attempts to submit? It seems to be trying to contact the server. Insight is greatly appreciated. Happy to help with bugs, but need guidance..

from angular.

travist avatar travist commented on April 20, 2024

It may be because it is trying to submit. What browser are you using? I know that old versions of IE have issues with button types.

from angular.

mikethm avatar mikethm commented on April 20, 2024

we are using the latest version of chrome, so i don't think that's the issue.

In the gist it is simply an event button instead of submit defined locally.
With the page unable to reach form.io (deliberately took down the network interface so we reduce the uncertainty), when i load the page and press button with 'action':'submit' it seems ok, but only changing 'action':'event', for the button, pressing the button forces a page reload.

I'm not sure how to debug why it's happening. Maybe I misunderstand how it's working... does it need to fetch a event resource from the server or something? (i wouldn't think so..)

Would you be able to provide a branch of the ng2-app-starter with a simple button that emits an simple custom event that (e.g. prints a "hello" to the console?) (my wish list would include a before submit hook so i can see how that works too, since I can't seem to get that working either)

Thanks so much, happy to help however we can.

from angular.

mikethm avatar mikethm commented on April 20, 2024

Thanks for all your work the past couple of days.... The custom event reload problem still occurs with RC6... any suggestions?

from angular.

mikethm avatar mikethm commented on April 20, 2024

as at rc.17, page doesn't reload, but events do not appear to be emitted

from angular.

joseSignot avatar joseSignot commented on April 20, 2024

so is (customEvent) broken for now?

from angular.

roma-formio avatar roma-formio commented on April 20, 2024

Closed due to no activity. This should be fixed.

from angular.

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.