π | Cloudflare Turnstile | Turnstile's api.js is not getting loaded when form is loaded through Drupal dialog
πΊπΈUnited States JaceRider
Here is the correct patch. The above was from the original merge request.
π | Cloudflare Turnstile | Turnstile's api.js is not getting loaded when form is loaded through Drupal dialog
πΊπΈUnited States JaceRider
Of the two merge requests, only one was merged. An issue still remains when the entire form is loaded via ajax as the #attached => html_head does not get handled via ajax so the necessary javascript is never loaded.
See this merge request: https://git.drupalcode.org/project/turnstile/-/merge_requests/5/diffs?co...
The attached patch solves the issue and is a slightly modified from the above so that it applies cleanly to the current stable branch.
πΊπΈUnited States JaceRider
It looks like this issue has been fixed in the upstream but the module requires version ^1.0.47 and the fix was added in ^1.0.50.