For the BaseElementSelectInput widget used in Entry/Category field when editing an entry, is there any way to set the value of that field via the widget api?
I know the instance of the widget can be access via
but I can't seems to find the correct function of the setter
I tried Mats's solution
but it doesn't seem to work.