Fix the SharePoint Online List Edit Item Error
Question details
The user needs to open and edit items in a SharePoint Online list when the modern Edit item dialog fails.

- Product
- SharePoint Online
- Device & OS
- not provided
- Scenario
- Editing an item in a list that includes a multiline text Properties column containing JSON data.
- Observed behavior
- The modern Edit item dialog fails with an e.replace is not a function error, while classic editing and Quick Edit work.
Identify the affected list, the exact error, and any custom columns that contain JSON data. Check whether you have permission to change list settings or create a separate test list.
Isolate the column causing the modern form error
Use a separate test list to check whether a custom column or its configuration prevents the modern form from opening.
Open the affected list and select Edit in grid view, also called Quick Edit in some interfaces. Check whether you can edit a test item without opening the modern form.
Open Settings > List settings and inspect the Properties column, including its multiline text settings. Also review any column or form formatting JSON separately from the JSON stored in list items.
From the SharePoint site, select New > List and, if available, create a list from the existing list. Add a sample item with representative, non-sensitive data and check whether the modern Edit item form fails.
In the test list only, use List settings to remove the suspected column, then open the sample item and select Edit. If the form works, test a newly created compatible column and its settings.
If the test identifies a column schema issue, assess a new compatible column and a supported way to transfer its data before changing the production list. Record the results and contact Microsoft Support if the issue persists.

Switch the list to classic experience temporarily
Use the classic form as a workaround when editing works there but fails in the modern experience.
Work with exported list data in WPS Spreadsheet
WPS Office is a free, lightweight alternative with a familiar interface for working with Office files. Open compatible exported spreadsheets and move between Office formats easily; WPS does not repair SharePoint list forms.

Frequently Asked Questions
Why does Quick Edit work when the modern Edit item form fails?
Grid editing and the modern item form use different interfaces, so a column or form configuration may affect one but not the other. Select Edit in grid view to check whether grid editing works.
Does JSON in a multiline text column always cause this error?
No. JSON stored as text is not necessarily the cause. Test the column and its settings in a separate list, and review any column or form formatting JSON independently.
How do I switch the list back to classic experience?
Open Settings > List settings > Advanced settings, choose Classic experience under List experience, and save. The option may depend on your permissions and organization settings.
What should I send Microsoft Support if the error continues?
Provide the exact error, the affected column type and settings, relevant formatting JSON, and the results of classic, grid view, and test-list checks. Include information about how the list was created if available.




