Skip to content
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

Cannot read property 'constructor' of null #23

Closed
sheldon-sminq opened this issue Jun 14, 2017 · 3 comments
Closed

Cannot read property 'constructor' of null #23

sheldon-sminq opened this issue Jun 14, 2017 · 3 comments

Comments

@sheldon-sminq
Copy link

We use this plugin extensively, recently updated to the latest 1.3.3 version to support HTML5 elements too.

While loading the form with the json data if one of the properties has a null value then we get this issue. Never occurred with the older version.

Uncaught TypeError: Cannot read property 'constructor' of null
   at h (jquery.loadJSON.min.js:18)
   at h (jquery.loadJSON.min.js:18)
   at HTMLFormElement.<anonymous> (jquery.loadJSON.min.js:18)

@kevindb
Copy link
Owner

kevindb commented Jun 14, 2017

What specific version of the jQuery library you're using?
What browsers (and versions) have you tested in?
Please include a link to a JSFiddle or CodePen example of the error so that others can reproduce the issue you're seeing.

@sheldon-sminq
Copy link
Author

Jquery Version: 2.1.4
Browsers : Chrome 58.0.3029
https://jsfiddle.net/91715o1j/ sample test

@fvarg00
Copy link
Contributor

fvarg00 commented Oct 19, 2017

Suggested fix for this issue under

341004c

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

3 participants