Skip to content

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

Description

@joyokim

<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] 看成是一个值了

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions