Open luixal opened 7 years ago
Sorry for the late response, not getting any notifications once again :(
You're using a custom onSubmit handler in all the steps, only use this for the last step or do this:
onSubmit(data, wizard) {
wizard.next(data) // this will trigger the next step and store data from the current step.
}
Oh, that makes sense. I was thinking that onSubmit
was called and then the wizard.next
was also called automatically by the package. Will give it a try.
Is this related to the CSS not working properly (my app uses bootstrap) or do I need another package for styling?
Thanks!
Yep that's by design, bootstrap is used by default for the form thanks to autoform but I've kept the wizard itself neutral. You can add a theme easily see the example: https://github.com/forwarder/meteor-wizard-example/tree/master/client
Hi,
I've just tried this package in a project using autoform 5.8.1 and autoform-wizard 0.9.1 and it doesn't through any error but it doesn't render correctly.
I'm just following examples including this into html code:
and using this helper:
where the schemas are valid as a common autoform shows them right and work smoothly.
The HTML rendered is this one (showing a plain list with the steps, fields for the first step and a send button that once pressed, it does nothing):
Any ideas on what problem am I facing?
Thanks!