react-weui
react-weui copied to clipboard
您好关于Checkbox在Cell里与input一起使用出现的bug
**Do you want to request a feature or report a bug (建议还是bug) ?**bug
What is the current behavior? (现有状况)
<FormCell checkbox={true} key={item.index} style={{position: 'relative'}}>
<CellBody>
<Input type="text" placeholder={item.title} value={item.value} onFocus={this.inputFocus} onChange={this.selectChange} id={index}/>
</CellBody>
<CellFooter>
<Checkbox name={"checkbox"+index} checked={item.selected} onChange={this.selectChange} id={index}/>
</CellFooter>
</FormCell>
当我这样使用的时候会出现ru如下图所示,最下面一行的选项,同时text无法点击输入,但我更换radio框是可以使用的。
What is the expected behavior? (应有状况) 应该不会出现多余的一个checkbox框,以及input框可以点击并且输入
Which versions of React-weui, weui, and which OS and device are affected by this issue? (React-weui版本 weui版本 机型和系统) "react": "^16.4.1", "weui": "^1.1.0" macbookpro 15 macos 10.13.5