Skip to content

Problem with conditional type in 0.7.12 #263

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
monyiliev opened this issue Feb 24, 2015 · 2 comments
Closed

Problem with conditional type in 0.7.12 #263

monyiliev opened this issue Feb 24, 2015 · 2 comments

Comments

@monyiliev
Copy link

Thanks for your awesome code. I highly appreciate it.

I wanted to share an issue that I started experiencing since I upgraded to 0.7.12. In my Chrome console I am getting an error:

TypeError: undefined is not a function
    at schema-form.js:293

In my form I have the following conditional type:

  {
    type: "conditional",
    condition: "model.type == 1",
    items: [
      {
        key: "pseudo",
        placeholder: "Pseudo Example Placeholder"
      }
    ]
  }

I can confirm that the above works with 0.7.11 and AngularJS 1.3.14

I would be very grateful for your assistance with this problem.

Thanks

@Dervisevic
Copy link
Contributor

The .each method was only available with jQuery, 0.7.13 fixes the issue.

@monyiliev
Copy link
Author

Thanks so much. Upgraded to 0.7.13 and it all works. Awesome.

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

No branches or pull requests

2 participants