2
votes
Accepted
Quickform AddEntityRef Errors 5.58
I suspect what you're seeing is a permissions problem. You mentioned it doesn't work for Front-End users but it does work on the back-end.
EntityRef fields work by calling Apiv3 via ajax. For that to ...
1
vote
Accepted
Change output for address Entity Reference
Disclaimer: There may be newer/simpler ways of doing this now that SearchKit has a "autocomplete" display, but I have not experimented with it yet, and not sure if we can use it to override ...
1
vote
How can I trigger a selection for a Select2 EntityRef element via javascript?
According to this related question, it should be possible to do this via:
$('#id-of-select2').select2('val', 'value-to-select');
or, if you want to select multiple items in a multiselect:
$('#id-of-...
1
vote
How can I customise site search settings to use a wildcard for a specific entityRef field?
Currently no, it cannot be overridden on a per-field basis. But I could add a core patch to do so if your organization can fund a couple hours work.
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
entityref × 8api × 2
developer × 2
javascript × 2
quickform × 2
select2 × 2
custom-fields × 1
forms × 1
entity-reference × 1