ReactStrap: Accessing The Id Of The Selected DropDownItem
I have this dropdownList: { this.toggle(3);
Solution 1:
I have fixed this by passing the attribute productid inside the div:
<DropdownItem>
{" "}
<div productid="0" onClick={this.changeValue}>
PURE BLACK MAT BLUETOOTH
</div>
</DropdownItem>
Post a Comment for "ReactStrap: Accessing The Id Of The Selected DropDownItem"