Skip to content

Microsoft Lists: unknown full screen error message caused by "hideSelection" JSON property applied to a view #9803

@Fedes365

Description

@Fedes365

Target SharePoint environment

SharePoint Online

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

Declarative list formatting

Developer environment

None

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

  • Microsoft Edge Version 126.0.2592.102 (Official build) (64-bit)
  • Google Chrome Version 126.0.6478.127 (Official build) (64-bit)

Describe the bug / error

"hideSelection": true property applied to a Microsoft Lists view through custom JSON formatting causes an unknown error.
After applying this custom property, when a user clicks on any column header, an error message appears on full screen with a button to refresh (Retry).

immagine

However, after performing a refresh, this error is shown again without any information about.

This error doesn't occur if hideSelection property is removed from a view JSON formatting or set to false.

Steps to reproduce

After performing some checks and testing together with @tecchan1107, here are the steps we identified to reproduce this error:

  1. Create a new list
  2. Click on "All items" tab view and click on Format current view
  3. Click on Advanced mode and paste the following basic JSON code:

    { "$schema": "https://developer.microsoft.com/json-schemas/sp/v2/row-formatting.schema.json", "hideSelection": true }

  4. Save and close the advacend formatting pane
  5. Click on any column header to get the full screen error message:


    immagine

Expected behavior

It should be possible to click on any column header without triggering this error message, even if "hideSelection": true is applied to a view through JSON custom formatting.

Additional details: this error doesn't show up if a list is used in "Edit in grid view" mode.

Metadata

Metadata

Assignees

Labels

Needs: Author FeedbackAwaiting response from the original poster of the issue. Marked as stale if no activity for 7 days.Needs: Triage 🔍Awaiting categorization and initial review.type: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