LightningFlowComponents icon indicating copy to clipboard operation
LightningFlowComponents copied to clipboard

Datatable - Version 3.4.5 - When multiple picklist fields are editable, only the last change is recorded

Open sylvain-priser opened this issue 3 years ago • 3 comments

Steps to reproduce the behavior:

  1. Include a Datatable component in a screen flow with at least 2 picklist fields as columns and "Hide Cancel/Save buttons" unchecked
  2. At runtime, on the same record, update 2 picklist fields
  3. Finish the flow.
  4. At reload, only the last updated field is recorded.

Expected behaviour

Both fields updates should be recorded in OutputEditedRows collection.

Actual behaviour

When editing 2 fields or more, only the last change is recorded in the OutputEditedRows collection.

Screenshots

Picklist in the example below contains text values that represent times, this is not time fields. Video Capture

sylvain-priser avatar Feb 22 '22 19:02 sylvain-priser

I created a test flow and I'm unable to reproduce this issue.

https://user-images.githubusercontent.com/24724447/155859293-e8a35d9d-cb99-45eb-9b0e-2826a7a4c1b0.mp4

ericrsmith35 avatar Feb 26 '22 21:02 ericrsmith35

Hi @ericrsmith35,

As for issue #1050 , the problem occurs only when the Datatable is embedded in a Section. Easy to workaround ! Thanks for your attempts to reproduce.

Sylvain

sylvain-priser avatar Feb 28 '22 00:02 sylvain-priser

@sylvain-priser I'm still unable to reproduce the issue with only the last picklist change being retained.

ericrsmith35 avatar Mar 06 '22 16:03 ericrsmith35