Giter Club home page Giter Club logo

Comments (6)

wbotelhos avatar wbotelhos commented on May 20, 2024

Strange, opt is your hash configuration it is mandatory to the whole plugin work.
Try to debug the self.opt before the each function, it must be there.

from stepy.

futuretechmag avatar futuretechmag commented on May 20, 2024

I'm unsure what you mean exactly?

This is the total trace:

Uncaught TypeError: Cannot read property 'errorImage' of undefined at HTMLButtonElement.<anonymous> (stepy.min.js:367) at Function.each (jquery.min.js:2) at n.fn.init.each (jquery.min.js:2) at n.fn.init.validate (stepy.min.js:357) at HTMLButtonElement.<anonymous> (stepy.min.js:160) at HTMLButtonElement.dispatch (jquery.min.js:3) at HTMLButtonElement.r.handle (jquery.min.js:3)

I suppose my question is, what exactly is Stepy trying to read the property "errorImage" ON? In other words, "what" exactly is undefined?

from stepy.

wbotelhos avatar wbotelhos commented on May 20, 2024

self.opt is undefined, you need to debug to know where it became undefined.

from stepy.

meliborn avatar meliborn commented on May 20, 2024

Got the same issue. It's because on the first step self is an array of forms with one element self[0].opt return correct configuration. On the next steps it works with self.opt.

from stepy.

wbotelhos avatar wbotelhos commented on May 20, 2024

Hi @meliborn ,

If you use the code of the master it still breaks?
We holding to release a new version soon, but some thing were changed: https://github.com/wbotelhos/stepy/blob/master/changelog.md

from stepy.

meliborn avatar meliborn commented on May 20, 2024

@wbotelhos I've tried master version, but encountered some issues.

  1. Calling .stepy('step', 2) doesn't trigger next callback.
  2. Is <legend> tag required? Getting errors without it.
  3. Could you provide an example of validation please? It doesn't work with previous settings.

from stepy.

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.