Hello,
Great module. One thing I found I needed was being able to detect when the autocomplete field was updated.
In entity_reference_tree.js I changed:
$("#" + fieldEditID).val(selectedEntites);
to:
$("#" + fieldEditID).val(selectedEntites).trigger('change');
This allows another of my modules to do what it is trying to do. Without this, other javascript does not know the field value has been changed dynamically.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 0001-Trigger-change-when-updating-field-value.patch | 1016 bytes | jacerider |
Comments
Comment #2
jacerider commentedHere's a patch if it helps.
Comment #4
mingsongThanks for the patch.
It is pushed to the Dev branch.
Comment #5
mingsongComment #6
mingsong