disabling default onsubmit handler in dynamic form code #45

Open
Aqua-Ye opened this Issue Mar 1, 2012 · 0 comments

Projects

None yet

1 participant

@Aqua-Ye
opalang member

Bug reported by Owen Gunden :

I've noticed that

...

usually works to keep the form from submitting. However, it doesn't
seem to work (i.e. the default submitter runs) in certain cases when
the form is dynamically generated.

I'm not sure if this is a bug, but it manifested as a bug in my code
so I thought I'd bring it up in case somebody else runs into it. I
think I can work around it by being less dynamic.

Here is some code that demos it:

https://github.com/ogunden/opa-prevent-default

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment