Skip to content

Dynamic List Filtering when a Single Option is Selected #10059

Description

Target SharePoint environment

SharePoint Online

What SharePoint development model, framework, SDK or API is this about?

💥 SharePoint Framework

Developer environment

Windows

What browser(s) / client(s) have you tested

  • 💥 Internet Explorer
  • 💥 Microsoft Edge
  • 💥 Google Chrome
  • 💥 FireFox
  • 💥 Safari
  • mobile (iOS/iPadOS)
  • mobile (Android)
  • not applicable
  • other (enter in the "Additional environment details" area below)

Additional environment details

  • Browser Version: Microsoft Edge Version 131.0.2903.99 (Official build) (64-bit)
  • SPFx Version: 1.15.0
  • Node.js Version: 16.15.0
  • SharePoint Online: Modern Experience

Describe the bug / error

The dynamic filtering functionality between the Country Selector web part and the Holidays Calendar web part does not operate as expected when a single country is selected. Specifically, when only one country is chosen, the Holidays Calendar fails to display any records, which contradicts the intended functionality.

2024-12-18_18-48-16

Steps to reproduce

  1. Navigate to one of the specified SharePoint pages.
  2. Open the Country Selector web part.
  3. Select only one country from the list.
  4. Observe the Holidays Calendar web part for any displayed holidays.

Expected behavior

When following the reproduction steps, I expected the Holidays Calendar web part to display relevant holiday records for the selected country, regardless of whether one or multiple countries are chosen. The dynamic filtering should function properly with both single and multiple selections.

Metadata

Metadata

Assignees

Labels

Needs: Author FeedbackAwaiting response from the original poster of the issue. Marked as stale if no activity for 7 days.sharepoint-developer-supportsharepoint-developer-supporttype:bug-suspectedSuspected bug (not working as designed/expected). See “type:bug-confirmed” for confirmed bugs.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions