0

I am building a javascript helper to assist user to populate some Entry/Category data.

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

$("#fields-handle").data('elementSelect');

but I can't seems to find the correct function of the setter

I tried Mats's solution

Setting selected elements in a BaseElementSelectorModal (or BaseElementIndex)

but it doesn't seem to work.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.