sp-dev-fx-controls-react
sp-dev-fx-controls-react copied to clipboard
[Dynamic Forms] Implement Comments functionality
Category
- [x] Enhancement
- [ ] Bug
- [ ] Question
Version 3.17.0
Expected / Desired Behavior / Question
Standard SharePoint list forms implement Comments functionality. This functionality is required for our implementation for collaboration on tasks and issues.
Ideally, I would like to inject simple customizations into standard SharePoint forms, similar to injecting JSLink
in classic forms. However, no such functionality exists in modern forms. For example, I need to set default value of the Org Unit field from a URL parameter value and make the field read only. Now, the only way we can implement it is with SPFx or Power Apps. Both options are an overkill and a deployment and maintenance nightmare. If there was a site collection feature to enable custom JavaScript injections, that would address a myriad of challenges.
Observed Behavior
Comments functionality is missing from Dynamic Forms component.
Steps to Reproduce
Implement Form Customizer extensions with a Dynamic Form for a list. Notice that Comments panel and show/hide button is missing from the form. Also, Comments option on the list item opens the Dynamic Form with missing comments controls.
Did you try using this Reusable Component: https://pnp.github.io/sp-dev-fx-controls-react/controls/ListItemComments/ along with the Dynamic Form?