Hello again, is it possible? I need to add some items in my custom selector via code and I need the editor to not be able to remove those from there but still be able to add and remove others, to simple disable the entire selector would be nice too.
I see, what I plan to do then is to create a Listener and re-add any deleted Item that I would first want to disable in the Content Selector (not using a Custom Selector anymore) when a Content is saved. Now I have another question, in a selected Item:
Is it possible to alter anything there? Like remove icons or add text.
I guess yes, and any way would be fine. So what I initially wanted to do is to make my Content Selector look more like this image:
Either insert items like Test3 or have something like the class non-editable applied to both functions like in Test and to be able to disable the selection of new Items.
I didn’t really knew how a Custom Selector worked, after learning a little more what I did was to add a tag in the value saved as ID to differentiate what was inserted via code from what was inserted by the user, then on a listener I check if any item added via code was removed by the user and if so I add it back, not pretty tho. Anyway, thanks a lot.