Semantic-Org/Semantic-UI-React

Radio: onChange not triggered for radio toggle with id

Open

#3.737 aberto em 6 de ago. de 2019

Ver no GitHub
 (4 comments) (0 reactions) (0 assignees)JavaScript (4.065 forks)batch import
bughelp wanted

Métricas do repositório

Stars
 (13.136 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

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

Guia do colaborador