SharePoint / SharePoint/sp-dev-docs

List Formatting: Edit Columns removes `fieldsettings`

Open
#10,330 5 comments 0 reactions 1 assignee View on GitHub

@Amey-MSFT is already working on this.

Since Jul 10, 2025.

area:list-formatting-form sharepoint-developer-support type:bug-confirmed
Dominant language
PowerShell
Stars
1.4k
Forks
1.1k
Avg merge
4d 12h
Merged PRs (30d)
12

Description

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
  • 💥 Internet Explorer
  • 💥 Microsoft Edge
  • 💥 Google Chrome
  • 💥 FireFox
  • 💥 Safari
  • mobile (iOS/iPadOS)
  • mobile (Android)
  • not applicable
  • other (enter in the "Additional environment details" area below)
Additional environment details

No response

Describe the bug / error

A new feature was added to allow setting specific fields as read-only using fieldsettings.

Image

However, it’s unclear if this is a bug, but when saving changes via [Edit Columns], the fieldsettings get removed.

Image

Is this removal behavior considered a bug?
If not, it would be troublesome if fieldsettings get removed each time column order or visibility settings are changed.

Steps to reproduce
  1. Set the JSON including fieldsettings in the form’s Body
  2. Make any changes using Edit Columns and save
  3. Reopen the form

Image

Expected behavior

Even after saving changes via Edit Columns, fieldsettings are not removed.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.