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

checkbox的name是a.b时,报错 #80

Open
henryzp opened this issue Aug 1, 2014 · 1 comment
Open

checkbox的name是a.b时,报错 #80

henryzp opened this issue Aug 1, 2014 · 1 comment

Comments

@henryzp
Copy link

henryzp commented Aug 1, 2014

因为一些原因,input是checkbox的类型,name为a.b,中间为小数点。

使用框架的时候,用widget.autoRenderAll(),就会报错,提示是jquery的错误什么的。

@army8735
Copy link
Member

army8735 commented Aug 1, 2014

Syntax error, unrecognized expression: input[name=a.b]
应该是这样的把
input[name=a.b]即可
https://github.com/aralejs/validator/blob/master/src/core.js#L100
自己着急先改试试

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

No branches or pull requests

2 participants