function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
@23@23 

Value added in multi-select picklist not getting displayed

A multi-picklist field is already setup with some values. This field is referred in LWC as lightning-input-field which supports multi-picklist fields. Hence no controller or other custom component is used to retrieve the picklist values. But after adding some values to this same multi-plickist field and making them available at record type level for editing, the values are not getting displayed on the custom component page. Can someone assist?
Shri RajShri Raj
This issue could be caused by a few different things. Some possible solutions include:
Clearing your browser cache and refreshing the page. Sometimes, the browser cache can cause issues with displaying updated picklist values.
Checking your record type settings and making sure the new picklist values are set to be visible for the record type associated with the custom component.
Checking your field-level security settings and making sure the new picklist values are set to be visible for the appropriate profile.
Check if your custom component is calling the refreshApex() method after updating the picklist field. This method is used to refresh the data from the server and update the component with the new values.
Check your custom component and make sure it's using the correct API name of the field and that the field is not being hard-coded.
If you are still facing the issue please check your metadata and check if the field is updated in all profiles and page layouts.
It may also be helpful to check the browser developer console for any error messages that may provide more information on the issue.