I'm trying to add line breaks within the different sections of JSON formatting for my SharePoint list. Right now, I have sections each with specific fields, however those fields need to have line breaks after certain ones (almost like "sub-sections.").
Is it possible to accomplish this by nesting children div
elements within sections that have corresponding fields within each?
Here is the code I currently have that results in line breaks, with generic section and field names used for ease of reference:
{
"sections": [
{
"displayname": "",
"fields": [
"Title",
"Field 2"
]
},
{
"displayname": "Section 1",
"fields": [
"Field 3"
]
},
{
"displayname": "Section 2",
"fields": [
"Field 4",
"Field 5"
]
}
]
}