Semantic-Org/Semantic-UI-React

Radio: onChange not triggered for radio toggle with id

开放

#3,737 创建于 2019年8月6日

 (4 条评论) (0 个反应) (0 位负责人)JavaScript (4,065 个派生)batch import
bughelp wanted

仓库指标

星标
 (13,136 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

Bug Report

onChange not triggered on Radio with toggle and id props. And does okay without id or with name props.

Steps

  1. Add id and toggle props to Radio component
  2. Click on radio element

Expected Result

onChange should be triggered.

Actual Result

onChange is not triggered.

Version

0.87.3

Testcase

https://codesandbox.io/embed/semantic-ui-react-example-yowvx

贡献者指南