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

input type=radio时候 如果name是数组如sku[0] sku[1]存在BUG #285

Open
joyokim opened this issue Oct 20, 2020 · 0 comments
Open

input type=radio时候 如果name是数组如sku[0] sku[1]存在BUG #285

joyokim opened this issue Oct 20, 2020 · 0 comments

Comments

@joyokim
Copy link

joyokim commented Oct 20, 2020

<div class="btn-group" data-toggle="buttons"> <label class="btn btn-success active" style="margin-left:10px;border-radius: 5px;"> <input type="radio" name="sku[0]" value="cpcc_2"> 110L×120W</label> <label class="btn btn-success" style="margin-left:10px;border-radius: 5px;"> <input type="radio" name="sku[1]" value="cpcc_3" aria-invalid="true"> 150L×180W</label> <span class="msg-box n-right" for="sku[1]"><span role="alert" class="msg-wrap n-error"><span class="n-icon"></span><span class="n-msg">成品尺寸不能为空</span></span></span></div>

看到sku[0] sku[1] data-rule="checked"就失效了 如sku[xx] sku[yy]这样就能成功
应该是将sku[0] sku[1] 看成是一个值了

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

1 participant