Comments on: SPFx fluent UI react dropdown example https://www.spguides.com/spfx-fluent-ui-react-dropdown/ Learn SharePoint, Office 365, Nintex, PowerApps, PowerBI etc, SharePoint training and video courses Mon, 13 May 2024 06:46:17 +0000 hourly 1 https://wordpress.org/?v=6.6.2 By: Mayuresh Halarnkar https://www.spguides.com/spfx-fluent-ui-react-dropdown/#comments/931 Tue, 24 Jan 2023 17:31:35 +0000 https://www.spguides.com/?p=27934#comment-931 Can we fetch the dropdown values on component itself? , we are pulling data on .ts file and not on .tsx

]]>
By: Jason https://www.spguides.com/spfx-fluent-ui-react-dropdown/#comments/319 Mon, 28 Jun 2021 13:01:39 +0000 https://www.spguides.com/?p=27934#comment-319 In reply to Jason.

Figured it out. I wasn’t properly awaiting the calls to fetch the dropdown options. As a result, the options didn’t exist yet to properly set the existing selected key.

]]>
By: Jason https://www.spguides.com/spfx-fluent-ui-react-dropdown/#comments/314 Thu, 24 Jun 2021 12:21:01 +0000 https://www.spguides.com/?p=27934#comment-314 How do you handle keeping the DropDown value when something in the PropertyPane is changed triggers a ‘componentDidUpdate’? When this happens, the dropdown selection is cleared even though the state still exists for the selected key.

]]>