[英]How to disable clicked button in a map in Reactjs?
When i try to click on a button all the buttons get disabled当我尝试单击一个按钮时,所有按钮都被禁用
Any help will be appertiated任何帮助都将得到满足
Simply add a loading condition只需添加加载条件
<Table.Cell>
<Button onClick={() => {
if(loader == false){
alert("test")
}
}} outline={true} gradientDuoTone="cyanToBlue">
Edit
</Button>
</Table.Cell>```
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.