formBuilder icon indicating copy to clipboard operation
formBuilder copied to clipboard

Label missing after re-saving form

Open leeneshkPSS opened this issue 3 years ago • 7 comments

Description: Label overwritten when adding a new field

Environment Details:

  • formBuilder Version: V 3.8.2
  • Browser: Chrome
  • OS: Windows 10
  • Application: .Net MVC C#

Expected Behavior

Labels of current fields to keep their structure when adding a new field and clicking save.

Actual Behavior

Labels of current fields on form are being overwritten when adding a new field and clicking save.

Screenshot - (optional)

FireShot Capture 047 - Edit Form FireShot Capture 048 - Edit Form

leeneshkPSS avatar May 17 '22 10:05 leeneshkPSS

@kevinchappell, @Jojoshua So it seems like if 1 field is added, the json array saves perfectly, but the moment a second field is added, it overwrites the json array label of the first field. This occurs in the following sequence, if 2 fields exists and you add a third field, it overwrites the label field in the json array of the first 2 and so on.

leeneshkPSS avatar May 17 '22 10:05 leeneshkPSS

Please post a fiddle to reproduce

Jojoshua avatar May 17 '22 12:05 Jojoshua

@Jojoshua thanks for the response: https://jsfiddle.net/leeneshk/hsLojf01/9/

Its just for you to see what we are doing on our side

leeneshkPSS avatar May 17 '22 12:05 leeneshkPSS

Also this is a screenshot on what we see if we click the ellipsis MicrosoftTeams-image (2)

leeneshkPSS avatar May 17 '22 12:05 leeneshkPSS

@Jojoshua Hi - can you assist from your side? Would appreciate it!

LGNaude avatar May 18 '22 05:05 LGNaude

Using the fiddle I cannot reproduce. Please list exact steps to reproduce for the fiddle.

Jojoshua avatar May 18 '22 12:05 Jojoshua

Uhm its a bit difficult to create a fully functional fiddle because we are using mvc C# for the solution,

The formBuilder worked perfectly, except for the last week or so, its merely something that you could advise by going through the code in the fiddle and check if we perhaps missing something on our side,

I must stress upon though that we have added conditional logic recently but it had no impact on the functionality

leeneshkPSS avatar May 19 '22 12:05 leeneshkPSS

Did you resolve this issue? Your fiddle suggests you add fields using a data object returned by a server rather than drag/drop from the control panel. Is this correct?

lucasnetau avatar Aug 22 '23 07:08 lucasnetau