pnp / sp-dev-fx-controls-react

Reusable React controls for SPFx solutions
https://pnp.github.io/sp-dev-fx-controls-react/
MIT License
380 stars 380 forks source link

[Dynamic Forms] Implement Comments functionality #1796

Open Ruslan-Urban opened 3 months ago

Ruslan-Urban commented 3 months ago

Category

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.

6gal6ler6 commented 2 months ago

Did you try using this Reusable Component: https://pnp.github.io/sp-dev-fx-controls-react/controls/ListItemComments/ along with the Dynamic Form?