LightningFlowComponents icon indicating copy to clipboard operation
LightningFlowComponents copied to clipboard

*Datatable v.3.3.2* - Can't edit picklist field

Open boooney opened this issue 3 years ago • 10 comments

Steps to reproduce the behavior:

  1. Add Datatable v.3.3.2 to screen flow
  2. Add custom picklist field from Salesforce custom object
  3. Run the flow and try to edit the picklist values
  4. The table loads fine and I can see the field value, but cannot edit it

I've read the guide and tried everything. I am using the current versions of Datatable, FlowActionsBasePack and FlowScreenComponentsBasePack. All user permissions for this field seem to be there and I can edit it on the record detail page layout. Thanks.

Expected behaviour

Can select a new picklist value (there are 2 choices)

Actual behaviour

Cannot change the picklist value

Screenshots

image

Debug Logs

N/A

boooney avatar Feb 10 '22 21:02 boooney

First question. Did you make the column editable?

On Thu, Feb 10, 2022 at 4:57 PM Dan Hardy @.***> wrote:

Steps to reproduce the behavior:

  1. Add Datatable v.3.3.2 to screen flow
  2. Add custom picklist field from Salesforce custom object
  3. Run the flow and try to edit the picklist values
  4. The table loads fine and I can see the field value, but cannot edit it

I've read the guide and tried everything. I am using the current versions of Datatable, FlowActionsBasePack and FlowScreenComponentsBasePack. All user permissions for this field seem to be there and I can edit it on the record detail page layout. Thanks. Expected behaviour

Can select a new picklist value (there are 2 choices) Actual behaviour

Cannot change the picklist value Screenshots

[image: image] https://user-images.githubusercontent.com/11412333/153502884-7d2975ef-587a-4d08-a3b4-81bc8401e29a.png Debug Logs

N/A

— Reply to this email directly, view it on GitHub https://github.com/alexed1/LightningFlowComponents/issues/1045, or unsubscribe https://github.com/notifications/unsubscribe-auth/AF4UHX5TZDZMM25B6B4RXZ3U2QYDRANCNFSM5OCFT34Q . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you are subscribed to this thread.Message ID: @.***>

ericrsmith35 avatar Feb 10 '22 23:02 ericrsmith35

Yes

On Thu, Feb 10, 2022, 3:45 PM Eric Smith @.***> wrote:

First question. Did you make the column editable?

On Thu, Feb 10, 2022 at 4:57 PM Dan Hardy @.***> wrote:

Steps to reproduce the behavior:

  1. Add Datatable v.3.3.2 to screen flow
  2. Add custom picklist field from Salesforce custom object
  3. Run the flow and try to edit the picklist values
  4. The table loads fine and I can see the field value, but cannot edit it

I've read the guide and tried everything. I am using the current versions of Datatable, FlowActionsBasePack and FlowScreenComponentsBasePack. All user permissions for this field seem to be there and I can edit it on the record detail page layout. Thanks. Expected behaviour

Can select a new picklist value (there are 2 choices) Actual behaviour

Cannot change the picklist value Screenshots

[image: image] < https://user-images.githubusercontent.com/11412333/153502884-7d2975ef-587a-4d08-a3b4-81bc8401e29a.png

Debug Logs

N/A

— Reply to this email directly, view it on GitHub https://github.com/alexed1/LightningFlowComponents/issues/1045, or unsubscribe < https://github.com/notifications/unsubscribe-auth/AF4UHX5TZDZMM25B6B4RXZ3U2QYDRANCNFSM5OCFT34Q

. Triage notifications on the go with GitHub Mobile for iOS < https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675

or Android < https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub .

You are receiving this because you are subscribed to this thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/alexed1/LightningFlowComponents/issues/1045#issuecomment-1035649830, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACXCG3IQK4ZAHTDDPOMJKKDU2RE2JANCNFSM5OCFT34Q . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>

boooney avatar Feb 11 '22 02:02 boooney

Bypassing the "Configure Columns" and entering the picklist field using Column Fields in "Advanced" does work though, so there is something going on with the Configure Columns.

On Thu, Feb 10, 2022 at 6:49 PM Dan Hardy @.***> wrote:

Yes

On Thu, Feb 10, 2022, 3:45 PM Eric Smith @.***> wrote:

First question. Did you make the column editable?

On Thu, Feb 10, 2022 at 4:57 PM Dan Hardy @.***> wrote:

Steps to reproduce the behavior:

  1. Add Datatable v.3.3.2 to screen flow
  2. Add custom picklist field from Salesforce custom object
  3. Run the flow and try to edit the picklist values
  4. The table loads fine and I can see the field value, but cannot edit it

I've read the guide and tried everything. I am using the current versions of Datatable, FlowActionsBasePack and FlowScreenComponentsBasePack. All user permissions for this field seem to be there and I can edit it on the record detail page layout. Thanks. Expected behaviour

Can select a new picklist value (there are 2 choices) Actual behaviour

Cannot change the picklist value Screenshots

[image: image] < https://user-images.githubusercontent.com/11412333/153502884-7d2975ef-587a-4d08-a3b4-81bc8401e29a.png

Debug Logs

N/A

— Reply to this email directly, view it on GitHub https://github.com/alexed1/LightningFlowComponents/issues/1045, or unsubscribe < https://github.com/notifications/unsubscribe-auth/AF4UHX5TZDZMM25B6B4RXZ3U2QYDRANCNFSM5OCFT34Q

. Triage notifications on the go with GitHub Mobile for iOS < https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675

or Android < https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub .

You are receiving this because you are subscribed to this thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/alexed1/LightningFlowComponents/issues/1045#issuecomment-1035649830, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACXCG3IQK4ZAHTDDPOMJKKDU2RE2JANCNFSM5OCFT34Q . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>

boooney avatar Feb 11 '22 06:02 boooney

Dan. Please share what attributes were showing in the column attributes after you ran the Configuration Wizard but before before you made the manual entries.

On Fri, Feb 11, 2022 at 1:00 AM Dan Hardy @.***> wrote:

Bypassing the "Configure Columns" and entering the picklist field using Column Fields in "Advanced" does work though, so there is something going on with the Configure Columns.

On Thu, Feb 10, 2022 at 6:49 PM Dan Hardy @.***> wrote:

Yes

On Thu, Feb 10, 2022, 3:45 PM Eric Smith @.***> wrote:

First question. Did you make the column editable?

On Thu, Feb 10, 2022 at 4:57 PM Dan Hardy @.***> wrote:

Steps to reproduce the behavior:

  1. Add Datatable v.3.3.2 to screen flow
  2. Add custom picklist field from Salesforce custom object
  3. Run the flow and try to edit the picklist values
  4. The table loads fine and I can see the field value, but cannot edit it

I've read the guide and tried everything. I am using the current versions of Datatable, FlowActionsBasePack and FlowScreenComponentsBasePack. All user permissions for this field seem to be there and I can edit it on the record detail page layout. Thanks. Expected behaviour

Can select a new picklist value (there are 2 choices) Actual behaviour

Cannot change the picklist value Screenshots

[image: image] <

https://user-images.githubusercontent.com/11412333/153502884-7d2975ef-587a-4d08-a3b4-81bc8401e29a.png

Debug Logs

N/A

— Reply to this email directly, view it on GitHub https://github.com/alexed1/LightningFlowComponents/issues/1045, or unsubscribe <

https://github.com/notifications/unsubscribe-auth/AF4UHX5TZDZMM25B6B4RXZ3U2QYDRANCNFSM5OCFT34Q

. Triage notifications on the go with GitHub Mobile for iOS <

https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675

or Android <

https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub

.

You are receiving this because you are subscribed to this thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub < https://github.com/alexed1/LightningFlowComponents/issues/1045#issuecomment-1035649830 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/ACXCG3IQK4ZAHTDDPOMJKKDU2RE2JANCNFSM5OCFT34Q

. Triage notifications on the go with GitHub Mobile for iOS < https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675

or Android < https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub .

You are receiving this because you authored the thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/alexed1/LightningFlowComponents/issues/1045#issuecomment-1035905874, or unsubscribe https://github.com/notifications/unsubscribe-auth/AF4UHXZLALGQC3CQXHZFXSDU2SQYDANCNFSM5OCFT34Q . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you commented.Message ID: @.***>

ericrsmith35 avatar Feb 11 '22 14:02 ericrsmith35

[image: image.png] [image: image.png] [image: image.png] [image: image.png]

On Fri, Feb 11, 2022 at 6:09 AM Eric Smith @.***> wrote:

Dan. Please share what attributes were showing in the column attributes after you ran the Configuration Wizard but before before you made the manual entries.

On Fri, Feb 11, 2022 at 1:00 AM Dan Hardy @.***> wrote:

Bypassing the "Configure Columns" and entering the picklist field using Column Fields in "Advanced" does work though, so there is something going on with the Configure Columns.

On Thu, Feb 10, 2022 at 6:49 PM Dan Hardy @.***> wrote:

Yes

On Thu, Feb 10, 2022, 3:45 PM Eric Smith @.***> wrote:

First question. Did you make the column editable?

On Thu, Feb 10, 2022 at 4:57 PM Dan Hardy @.***> wrote:

Steps to reproduce the behavior:

  1. Add Datatable v.3.3.2 to screen flow
  2. Add custom picklist field from Salesforce custom object
  3. Run the flow and try to edit the picklist values
  4. The table loads fine and I can see the field value, but cannot edit it

I've read the guide and tried everything. I am using the current versions of Datatable, FlowActionsBasePack and FlowScreenComponentsBasePack. All user permissions for this field seem to be there and I can edit it on the record detail page layout. Thanks. Expected behaviour

Can select a new picklist value (there are 2 choices) Actual behaviour

Cannot change the picklist value Screenshots

[image: image] <

https://user-images.githubusercontent.com/11412333/153502884-7d2975ef-587a-4d08-a3b4-81bc8401e29a.png

Debug Logs

N/A

— Reply to this email directly, view it on GitHub https://github.com/alexed1/LightningFlowComponents/issues/1045, or unsubscribe <

https://github.com/notifications/unsubscribe-auth/AF4UHX5TZDZMM25B6B4RXZ3U2QYDRANCNFSM5OCFT34Q

. Triage notifications on the go with GitHub Mobile for iOS <

https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675

or Android <

https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub

.

You are receiving this because you are subscribed to this thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub <

https://github.com/alexed1/LightningFlowComponents/issues/1045#issuecomment-1035649830

,

or unsubscribe <

https://github.com/notifications/unsubscribe-auth/ACXCG3IQK4ZAHTDDPOMJKKDU2RE2JANCNFSM5OCFT34Q

. Triage notifications on the go with GitHub Mobile for iOS <

https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675

or Android <

https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub

.

You are receiving this because you authored the thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub < https://github.com/alexed1/LightningFlowComponents/issues/1045#issuecomment-1035905874 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/AF4UHXZLALGQC3CQXHZFXSDU2SQYDANCNFSM5OCFT34Q

. Triage notifications on the go with GitHub Mobile for iOS < https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675

or Android < https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub .

You are receiving this because you commented.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/alexed1/LightningFlowComponents/issues/1045#issuecomment-1036250563, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACXCG3MAAYLHTXUMMNCDN63U2UKBDANCNFSM5OCFT34Q . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>

boooney avatar Feb 11 '22 14:02 boooney

Can you share links to the images? They aren't visible in the discussion thread.

ericrsmith35 avatar Feb 11 '22 14:02 ericrsmith35

Sure. See this thread: https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000FR5hDSAT

On Fri, Feb 11, 2022 at 6:40 AM Eric Smith @.***> wrote:

Can you share links to the images? They aren't visible in the discussion thread.

— Reply to this email directly, view it on GitHub https://github.com/alexed1/LightningFlowComponents/issues/1045#issuecomment-1036278867, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACXCG3PPKVGJI2WDNGIGBDLU2UNWRANCNFSM5OCFT34Q . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>

boooney avatar Feb 11 '22 15:02 boooney

I was seeing the same issue, but what fixed it for me was changing the column order so that the picklist was not the left-most column. When the first column was a picklist, it was not editable. I hope this help.

KNLangston avatar Apr 04 '22 16:04 KNLangston

Hello, I have the same issue. I have created a custom object. It is just a bit different because the field type is text in object setup but I try to force the type attribute of the text field productCode__c and change it to picklist with setup.

collumn fields : Order_Line_Number__c,ProductCode__c,Produit__c,Description__c,Quantity__c,UnitPrice__c,TotalPrice__c
collumn edit : Order_Line_Number__c:true, ProductCode__c:true, Produit__r_lookup:true, Quantity__c:true, UnitPrice__c:true

Special Type Attributes :
ProductCode__c:{fieldName:'ProductCode__c', keyField:'ProductCode__c', keyFieldValue:'ProductCode__c', picklistValues: {PREST: 'PREST', FRAISPREST: 'FRAISPREST', PRESTACOMPL: 'PRESTACOMPL'}}

Special Other Attributes:
ProductCode__c:{type:'combobox'}

image

dufoli avatar Apr 24 '24 13:04 dufoli

I'm sorry but I don't support defining an editable picklist in the Type Attributes.

ericrsmith35 avatar Apr 24 '24 20:04 ericrsmith35