fluentui icon indicating copy to clipboard operation
fluentui copied to clipboard

Dropdown not displaying anything when first option is selected

Open mdmdakbar opened this issue 9 years ago • 2 comments

Products/sites affected: (if applicable) VSTS

I am using enum as the options to dropdown and selected key is one of that enum. When I select the first option whose enum value is 0, it is not getting displayed. When I investigated into this, I found that selectedKey is used in if condition and when selectedKey is 0, its taking as false value and not selecting anything.

Please refer the image below :

image

mdmdakbar avatar Oct 26 '17 11:10 mdmdakbar

What version of Fabric are you on? This was fixed by PR https://github.com/OfficeDev/office-ui-fabric-react/pull/3216, which shipped with 5.14.0

erichdev avatar Oct 26 '17 17:10 erichdev

Closing, please reopen if any issues remain

erichdev avatar Dec 27 '17 23:12 erichdev