Closed
Description
Category
[ ] Enhancement
[x] Bug
[ ] Question
Version
Please specify what version of the library you are using: [ 3.17 ]
Observed Behavior
It will show "Cannot read properties of undefined (reading 'sections')" error when you use [Dynamic Form] on a list which has empty ClientFormCustomFormatter
Steps to Reproduce
- Prepare a test list and click "Config Layout"
- Paste some view formatting json code ,then remove it (Sometimes you want to try "Custom Formatting" first before using Dynamic Form, so you may have empty ClientFormCustomFormatter)
- Using Dynamic Form Control on this list, then you will get "Cannot read properties of undefined (reading 'sections')" error
My Temp Solution
I cannot remove ClientFormCustomFormatter
in the UI. I used PnP Powershell to remove this property