SharePoint / sp-dev-docs

SharePoint & Viva Connections Developer Documentation
https://docs.microsoft.com/en-us/sharepoint/dev/
Creative Commons Attribution 4.0 International
1.24k stars 1k forks source link

column formatting breaks grid view #9339

Open Billiardist94 opened 10 months ago

Billiardist94 commented 10 months ago

Target SharePoint environment

SharePoint Online

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

Declarative list formatting

Developer environment

Windows

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

Additional environment details

Microsoft Edge Version 119.0.2151.72 (Official build) (64-bit)

Google Chrome Version 119.0.6045.160 (Official Build) (64-bit)

Describe the bug / error

If I add column formatting to the Person or Group column (Work Phone display), and when filling out the field, if the user does not have a Work Phone, the field remains empty. However, this breaks the Grid View and there is no way to edit items there. Screenshot_841 Screenshot_844 Screenshot_840

Steps to reproduce

  1. Create Person or Group field and select Show field: Work phone in the list;
  2. Create item and fill the email of person who doesn't have Work phone on this field;
  3. Add column formatting to this column;
  4. Try to Edit in Grid view;

Expected behavior

To being able to edit the list in Grid view.

ghost commented 10 months ago

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.