1

Even the most basic JSON column formatter seems to make the Edit in Grid view search results list box render blank. I've tried using @currentField.lookupValue as well as much more complicated formatters. The search box works and results actually return judging by the "onhover" effect in the list box. I can see lookup IDs but the values are blank.

JSON formatter:

{
  "$schema": "https://developer.microsoft.com/json-schemas/sp/v2/column-formatting.schema.json",
  "elmType": "div",
  "txtContent": "[$HG_x0020_Test.lookupValue]",
  "debugMode": true
}

enter image description here

1 Answer 1

0

I can see the exact same behavior in our SharePoint tenant:

enter image description here

I have used basic JSON like:

{
  "$schema": "https://developer.microsoft.com/json-schemas/sp/v2/column-formatting.schema.json",
  "elmType": "div",
  "txtContent": "@currentField.lookupValue"
}

This seems like issue from Microsoft end. Requesting you to create a new issue/bug on PnP List formatting repository on GitHub. This is maintained by Microsoft employees as well as community contributors.

Also, you can raise a support ticket with Microsoft, check Get Online support.


Similar thread: SharePoint Online - JSON formatted Lookup Column - Values not visible when click to edit

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.