sp-dev-fx-controls-react
sp-dev-fx-controls-react copied to clipboard
Issue 1250
| Q | A |
|---|---|
| Bug fix? | [ ] |
| New feature? | [ ] |
| New sample? | [ ] |
| Related issues? | fixes #X, partially #Y, mentioned in #Z |
What's in this Pull Request?
#1250
This PR introduces the ability to clear the selection in the SitePicker control when in single selection mode. It includes a custom renderer for the chevron icon, which now displays a "Cancel" icon alongside the chevron when an item is selected. Clicking the "Cancel" icon clears the current selection. The "Cancel" icon is only shown when an item is selected, ensuring a clean UI when there is no selection. These changes improve the user experience by making selection management more intuitive.