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

Dynamic form text, textarea and number fields clear values on blur after another field has been edited.

Open
#1,923 17 comments 1 reaction 1 assignee View on GitHub

@CodingSinceThe80s is already working on this.

Since Nov 12, 2025.

status:working-on-it type:bug
Dominant language
TypeScript
Stars
433
Forks
418
Avg merge
5d 6m
Merged PRs (30d)
19

Description

Category

[A dynamic form for a list with text, textarea, and number field inputs. loses values in those fields if you click or tab into the field and then click or tab out. This happens after you have edited another field. Or sometimes w/o even editing another field. This happens with no field overrides or other changes from the OOTB dynamic form. ] Bug

Version

I just updated to 3.20.0 and it's still happening

Please specify what version of the library you are using: [ 3.20.0 ]

Expected / Desired Behavior / Question

Expected behavior is for fields with values to retain those values on blur._

Observed Behavior

Observed behavior is text, textarea, and number fields losing value on blur.

Steps to Reproduce

Create a FormCustomizer and Dynamic form for an existing list with text, textarea, and number fields, and other fields as desired.
gulp serve the edit form and click in and out of a text field. It may retain its value, however, next edit another field and then click or tab into any text, textarea, or number field and then click or tab out of the field. The behavior we're seeing is the field losing focus will then also lose its value. Saving the form will update the input field as empty in the list.

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.