Picklists not displaying in Lightning App

  • 1
  • Problem
  • Updated 1 month ago
  • In Progress
We have a Skuid page in a Lighting App and for some reason some of our picklists are not displaying values when they are clicked on. We've verified that users have permissions to the fields, field level security is good, and have upgraded to the latest release. It's happening when we go to create a new record in a table (but only on some tables) and in a sidebar component we're using for the log a call functionality. If we override the field metadata, we can get the values to appear but the field renders tied to those values aren't being respected...

Anyone have any idea as to what's happening?
Photo of Matt Wyre

Matt Wyre

  • 270 Points 250 badge 2x thumb

Posted 7 months ago

  • 1
Photo of Peter Kong

Peter Kong, Employee

  • 596 Points 500 badge 2x thumb
Hey Matt! 

I'm going to try to reproduce your issue in my own dev box, but a couple of questions:

1. I'm assuming by latest you mean Spark 12.1.1?
2. You had mentioned that the picklists aren't displaying on "some tables", and that these are in a sidebar component. How are those tables set up? And do they malfunction outside of the sidebar component (if you copied them and placed them elsewhere in the Lightning App)?
3. Are these picklist fields dependent at all?

Thanks,
Peter K.
Photo of Paul

Paul

  • 864 Points 500 badge 2x thumb
This user has the 'Skuid Admin' permission set assigned to them.  I presume that is sufficient and a superset of the page view perm set?  
Photo of Zach McElrath

Zach McElrath, Employee

  • 54,004 Points 50k badge 2x thumb
Yep, that should be good. Is Industry dependent on any other fields? Like, is there any other Controlling Field on Account which restricts the values for Industry?
Photo of Paul

Paul

  • 864 Points 500 badge 2x thumb
No, but record types are enabled, however all fields are in the record type.  Also, the fields do show up in skuid.model.map(), just not on the page when deployed inside lightning.  Previewing the page does show all fields in the picklist.

Also, Industry is just a test field to demonstrate the error on a native field so you can reproduce - all picklists were showing this behavior on the real page, but some are custom fields.
(Edited)
Photo of Mark DeSimone

Mark DeSimone, Official Rep

  • 12,352 Points 10k badge 2x thumb
Hi Paul,

Can you check to make sure the affected picklists are present on each record type's Page Layout, in the object's page layouts? My engineers tell me this is necessary for Skuid to be able to pull in the picklist options successfully via Salesforce's Lightning API. 
Photo of harry silverstone

harry silverstone

  • 162 Points 100 badge 2x thumb
Have tried this with one picklist on one page layout related to the account. No change seen.
Photo of andre b

andre b

  • 140 Points 100 badge 2x thumb
Hi, we had the same issue. At the end it was a security issue. Solution for us was to add salesforce recommended ip range(s) to the users profile settings

https://help.salesforce.com/articleVi...
Photo of Jaya Gouru

Jaya Gouru

  • 132 Points 100 badge 2x thumb
Hi Andre,
we have the same problem where the picklist field values display doesn't allow users to select, values are visible when they click on edit pencil icon but page doesn't allow to select the value and list collapses when we move the cursor to select the value from edit icon.

Issue is happening in the lightning mode, same with checkbox field.
(Edited)
Photo of Ram Ry

Ram Ry

  • 80 Points 75 badge 2x thumb
Apart from picklist i also see the problem with checkboxes, the value are not persisting
we recently moved to lightning. Not clear how security setting will impact the UI.
if we change to classic mode, no issue with these elements
Photo of Jaya Gouru

Jaya Gouru

  • 132 Points 100 badge 2x thumb
did you apply any security fix Ram? is the issue resolved for you?