Replies: 1 comment 3 replies
-
html的label标准行为,https://developer.mozilla.org/zh-CN/docs/Web/HTML/Element/label
如果组件是沿用原生 html element 渲染的,那就会有这个行为。主要是 label for 和 id 的组合作用。 |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
为什么 Form 中 Input 的 label 是 Input 的激活热区、select 的 label 不是?

主要是疑惑为什么 label 要作为 input 的激活热区。
Beta Was this translation helpful? Give feedback.
All reactions