formio / ngFormio

JSON powered form rendering library for AngularJS + Form.io.
http://formio.github.io/ngFormio/
MIT License
99 stars 99 forks source link

Wizard is broken #208

Closed krixerx closed 8 months ago

krixerx commented 8 years ago

In some reason wizard "next" button throws error:

vendor.f5d32e3d.js:5 TypeError: Cannot read property '$valid' of undefined at o.a.isValid (vendor.f5d32e3d.js:23) at o.a.checkErrors (vendor.f5d32e3d.js:23) at o.a.next (vendor.f5d32e3d.js:23) at fn (eval at compile (vendor.f5d32e3d.js:7), :4:203) at b (vendor.f5d32e3d.js:5) at e (vendor.f5d32e3d.js:8) at o.$eval (vendor.f5d32e3d.js:6) at o.$apply (vendor.f5d32e3d.js:6) at HTMLAnchorElement. (vendor.f5d32e3d.js:8) at HTMLAnchorElement.dispatch (vendor.f5d32e3d.js:2)

Week ago it worked perfectly and i haven't done changes during this time. Angular 1.5, ngFormio, wizard rendering.

krixerx commented 8 years ago

More info: Debugger is saying, element.children().scope().formioForm in getForm() function is undefined.

var element = $element.find('#formio-wizard-form'); - itself exists.

I switched back to "ng-formio": "2.1.10" and problem disappeared.

zackurben commented 8 years ago

@krixerx thanks for reporting this, and even more for finding a working version! We will investigate this issue.

rmckeel commented 7 years ago

I am curious, any updates on this? This is an old thread.

daneformio commented 8 months ago

Closing this thread as it is outdated. Please re-open if it is still relevant. Thank you for your contribution!