Skip to content

Commit

Permalink
Correct issue: existing_contact select widget fails to lock fields (#…
Browse files Browse the repository at this point in the history
…1008)

* Demonstrate existing_contact select widget fails to lock fields
  • Loading branch information
bsilvern authored Nov 16, 2024
1 parent 38536d4 commit d76b6bf
Show file tree
Hide file tree
Showing 3 changed files with 642 additions and 10 deletions.
20 changes: 12 additions & 8 deletions js/webform_civicrm_contact.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,19 @@
searchingText: "Searching...",
enableHTML: true
};
wfCivi.existingInit(
field,
field.data('civicrm-contact'),
field.data('form-id'),
autocompleteUrl,
toHide,
tokenValues
);
}
else {
var tokenValues = false;
}

wfCivi.existingInit(
field,
field.data('civicrm-contact'),
field.data('form-id'),
autocompleteUrl,
toHide,
tokenValues
);

field.change(function () {
wfCivi.existingSelect(
Expand Down
Loading

0 comments on commit d76b6bf

Please sign in to comment.