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

Anonymous rules fail when writeInputAttributes = true #400

Closed
danikenan opened this issue Jan 29, 2014 · 0 comments
Closed

Anonymous rules fail when writeInputAttributes = true #400

danikenan opened this issue Jan 29, 2014 · 0 comments
Labels

Comments

@danikenan
Copy link

When I add any anon rule using the 'validation' extender I get an error if writeInputAttributes is also set to true.

The error occurs at:

"ctx.rule.toLowerCase() === attr.toLowerCase()" (line 548 in my version)

In prev version the rule (ruleName) was a Number (created by newId()) that had no toLowerCase.
In the latest version, it is simply undefined (also has no toLowerCase)....

crissdev added a commit that referenced this issue Nov 24, 2014
Fixed #400 - writeInputAttributes fails when anonymous rules are used
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants