Microsoft Lists: unknown full screen error message caused by "hideSelection" JSON property applied to a view
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
- [X] 💥 Microsoft Edge
- [X] 💥 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).
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:
- Create a new list
- Click on "All items" tab view and click on Format current view
- 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 }
- Save and close the advacend formatting pane
- Click on any column header to get the full screen error message:
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.
Thanks for creating the issue @Fedes365 !
For reference, I also post videos I have taken.
-
If
"hideSelection": trueis set, an error message is displayed when clicking on a column header. -
If
"hideSelection": falseis set, clicking on a column header is not a problem
@Fedes365 We are actively working on this bug and will update on the ETA soon.
@tpodugu-ms
Thanks for your update about this bug!
@Fedes365 Issue has been fixed and fix will be available in production in a week.
@Fedes365 : I hope this issue has been fixed for you.
Hello @Fedes365, Thank You for your patience. Is the issue resolved now?
Hello @Amey-MSFT
I have followed the steps to test and reproduce the issue and I confirm that this bug is fixed.
Thanks for your support!