sp-dev-fx-controls-react icon indicating copy to clipboard operation
sp-dev-fx-controls-react copied to clipboard

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

Open gchamplin opened this issue 11 months ago • 8 comments

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.

gchamplin avatar Dec 13 '24 00:12 gchamplin