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

PNPJS Dynamic Form - User Type control renders arbitrary value when blank

Open
#1,404 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Needs: Attention :wave:
Dominant language
TypeScript
Stars
433
Forks
418
Avg merge
5d 6m
Merged PRs (30d)
19

Description

Category

[ ] Enhancement

[X] Bug

[X] Question

Version

Please specify what version of the library you are using: [ "@pnp/spfx-controls-react": "3.11.0" ]

Expected / Desired Behavior / Question

Renders a dummy/arbitrary username

Observed Behavior

Expected is a blank / null value

Steps to Reproduce
  1. Add SPFX controls react to your webpart
  2. Add DynamicForm Control
  3. Create a list with People Picker Field
  4. Set List ID in the Dynamic Form Control
  5. run webpart on workbench

Thanks!

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

Reproduce the issue with @pnp/spfx-controls-react 3.11.0 by following the listed DynamicForm and People Picker steps in the SPFx workbench. Start at the Dynamic Form control's handling of a blank People Picker value; done means the control renders a blank or null value rather than an arbitrary username.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.