I would like to disable a certain dropdown item in Fabric UI dropdown. I want something similar to isOptionDisabled in React-Select.
I need certain records to be greyed out and not able to be selected in the dropdown.
https://react-select.com/advanced#replacing-builtins
If I had the following data:
User Status
---- ------
Adam 1
Fred 1
Angie 0
Sam 1
Tyler 0
Matt 1
then I would want to see all of the in the dropdown, but with Angie & Tyler greyed out and non-selectable:
User
----
Adam
Fred
Angie <- greyed out and non-selectable
Sam
Tyler <- greyed out and non-selectable
Matt