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

match使用在select上不管用 #259

Open
btdf007 opened this issue May 26, 2017 · 1 comment
Open

match使用在select上不管用 #259

btdf007 opened this issue May 26, 2017 · 1 comment
Labels

Comments

@btdf007
Copy link

btdf007 commented May 26, 2017

match使用在select上不管用
如:
<select name="symbol1_1">
<option value="usd">美元</option>
<option value="eur">欧元</option>
</select>

<select name="symbol1_2" data-rule="组合:required;match(neq,#symbol1_1);>
<option value="usd">美元</option>
<option value="eur">欧元</option>
</select>

@niceue
Copy link
Owner

niceue commented Jun 13, 2017

<select name="symbol1_2" data-rule="组合:required;match(neq, #symbol1_1);">

1、少了结束引号;
2、规则参数里面逗号后需要加空格

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