Skip to content

ClRadio有bug,不能监听checkedValue变化 #85

Open
@lgc653

Description

@lgc653

为了更好的定位以及解决问题,在提交 ISSUE 时,我希望你

  1. mp-colorui :0.6.16
  2. Taro:2.2.10

如图所示,点击上面的View后,将ClRadio的checkedValue绑定的state更新了,但是ClRadio并未选中值。

我只能这样解决

(dbForm.experienceType ? (
  <ClRadio
    type='normal'
    radioGroup={experienceTypes}
    checkedValue={dbForm.experienceType}
    direction='vertical'
    color='cyan'
    onChange={this.handleExperienceTypeChange.bind(this)}
  />
) : (
  <ClRadio
    type='normal'
    radioGroup={experienceTypes}
    direction='vertical'
    color='cyan'
    onChange={this.handleExperienceTypeChange.bind(this)}
  />
)}

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions