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
Vandana Rattan 4Vandana Rattan 4 

Picklist - Add values from input entered in textbox

Hi All,

I have custom objects with pickilists like status, position, etc. on them. I have a requirement to allow admin users to add new values to piclists. How can I achieve this? Is it possible through lightning or should I target Visualforce only?

Thanks,
Balayesu ChilakalapudiBalayesu Chilakalapudi
Based on currently logged in user, if it is admin then show your picklist as editable in your visualforce or lightning pages. 
Don't forget to uncheck the check box next to the option Restrict picklist to the values defined in the value set.

Thanks,
Balayesu