Semantic-Org/Semantic-UI-React

Radio: onChange not triggered for radio toggle with id

オープン

#3,737 opened on 2019/08/06

 (4 件のコメント) (0 件のリアクション) (0 人の担当者)JavaScript (4,065 件のフォーク)batch import
bughelp wanted

Repository metrics

Stars
 (13,136 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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

コントリビューターガイド