Hello. I am trying to dynamically disable a single item inside of the Carbon Dropdown component in React. What would be the best approach? I have noticed in the carbon storybook that there is a disable property but it seems to only disable the entire dropdown. I have also tried putting the items inside of an array, giving the item I want disabled the disable=true property and then passing it to the Dropdown component but that did not work. Thanks for your help!
Hello. I am trying to dynamically disable a single item inside of the Carbon Dropdown component in React. What would be the best approach? I have noticed in the carbon storybook that there is a disable property but it seems to only disable the entire dropdown. I have also tried putting the items inside of an array, giving the item I want disabled the disable=true property and then passing it to the Dropdown component but that did not work. Thanks for your help!