Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
[PropertyFieldDropdownWithCallout]: Options of type "Divider" and "Header" are ignored #145
Expected / Desired Behavior / Question
When using the PropertyFieldDrdopdownWithCallout, we should be able to specify options that have their type property set to PropertyPaneDropdownOptionType.Header or PropertyPaneDropdownOptionType.Divider in order to display headers and dividers accordingly in the options.
While the out-of-the-box PropertyPaneDropdown does renders header and divider options correctly, it seems like the PropertyFieldDrdopdownWithCallout is only looking at the key and text property in order to renders the options, which leads to the headers and dividers being rendered as regular selectable options.
Steps to Reproduce
Use the PropertyFieldDrdopdownWithCallout with some headers and dividers and see the resulting options.
added a commit
Mar 2, 2019
This will be available in the
Here you can read how you can install the latest beta: https://sharepoint.github.io/sp-dev-fx-property-controls/beta/