SharePoint Online Modern Experience Multi-Line Field Display

Copper Contributor

As it stands right now, my "modern" experience lists cut off multi-line fields at about 4 lines.  Is there a way to allow all of the lines to be visible for all items?

 

Thanks!

6 Replies
I have already answered this on another thread...short answer: not currently and you will need to develop a SPFx Extension for this

Can try this. It will put a scroll. You can play with the max-eight

In the column formatting option:

 

{
    "$schema": "http://columnformatting.sharepointpnp.com/columnFormattingSchema.json",
    "debugMode": true,
    "elmType": "div",
    "children": [
      {
     "elmType": "div",
        "txtContent": "@currentField",
        "style": {
                 "padding":"11px 8px",
                 "max-height":"64px",
                "overflow-y":"auto",
                "align-items":"flex-start"
         }
      }
    ]
 }

Would the SPFx Extension support multiline column with Enhanced Rich text in it?

@Jeff Deutsch 

 

What I found worked the best for me because I needed bullets was to:

1. In the settings for multiple lines of text change 'Specify the type of text to allow' to plain text

2. When I added text I couldn't use bullets I used - (which created a bullet but if I hit back space removed the bullet)

3. In the 'Column Fomatting:' I used @Martin Coupal code

 

{
"$schema": "https://developer.microsoft.com/json-schemas/sp/column-formatting.schema.json",
"elmType": "div",
"txtContent": "@currentField",
"style": {
"white-space": "normal",
"padding": "11px 0"
},
"attributes": {
"class": "ms-fontColor-themePrimary"
}
}