pnp / pnp/sp-dev-fx-controls-react

[Dynamic Forms] Implement Comments functionality

Open
#1,796 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

help wanted Needs: Design 🎨 type:enhancement
Dominant language
TypeScript
Stars
433
Forks
418
Avg merge
5d 6m
Merged PRs (30d)
19

Description

Category
  • 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.

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

Start with the Dynamic Forms component used by the Form Customizer extension and trace how a list item form is opened from the list item's Comments option. Done means the form includes the Comments panel and its show/hide control, with comments functionality available when the component is used for a list.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.