dcloudio / dcloudio/mui

radio中点击label无效

Open
#218 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
13.5k
Forks
6.5k
PR merge metrics
No merged PRs in 30d

Description

input radio 代码

` 原装radio`

radio中点击label无效
mui.js中搜索LABEL,往下两行

`target = target.parentNode.querySelector('input');`

当点击LABEL时,返回的是当前的父亲中查找input。
如果有多个input,那只返回第一个。

根据当前代码,解决办法是,用把input label 包围起来。

具体问题,看我的附件吧。

晕。辛辛苦苦作的附近,上传不了。。。。

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.