Semantic-Org/Semantic-UI-React

Radio: onChange not triggered for radio toggle with id

Open

#3 737 ouverte le 6 août 2019

Voir sur GitHub
 (4 commentaires) (0 réactions) (0 assignés)JavaScript (4 065 forks)batch import
bughelp wanted

Métriques du dépôt

Stars
 (13 136 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

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

Guide contributeur