You need to sign in to do that
Don't have an account?
Team Saadhvi
Picklist values are not being displayed in the lightning component
Hi,
When I reload the custom lightning component page in community pick-list values are not showing drop-down values. It is showing the pick-list values for the first time when page load without any issue. But Problem is when I do manual reload of the page i missing the picklist dropdown values .And It is working fine with Internet Explorer.
Not working in crome and firefox
When I reload the custom lightning component page in community pick-list values are not showing drop-down values. It is showing the pick-list values for the first time when page load without any issue. But Problem is when I do manual reload of the page i missing the picklist dropdown values .And It is working fine with Internet Explorer.
Not working in crome and firefox
Greetings to you!
It looks like you are using force:inputField in lightning component. This is a known issue: force:inputField Lightning Component input box disappears after refreshing page in Lightning Experience or Salesforce1. Keep watching this issue until get fixed.
https://success.salesforce.com/issues_view?id=a1p3A0000008gLZQAY
Workaround provided by Salesforce:
Place force:inputFields as the top-level elements within a Lightning Component (not wrapped by an outer div).
You can also place only one force:inputField element outside of the div to resolve this issue. In that case you can hide the force:inputField component that is outside of the div from view of users (class with "display: none;"), and then the other force:inputFields within the div will stay visible after refreshing the page.
If you are not using force:inputField then I request you please post the complete code snippet of what you have tried so that we can look into it and can help you accordingly.
I hope it helps you.
Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in the future. It will help to keep this community clean.
Thanks and Regards,
Khan Anas
Adding the Component code :