Mark Croxton
Mark Croxton
Hi Domenic, we've run into an issue with `history.pushState()` in Safari on iOS, when calls are made approx 500ms after user interaction. This breaks back-button behaviour in our apps when...
You can use this extension to ensure that the htmx history cache contains a snapshot of the original markup state before it was manipulated by js: https://gist.github.com/croxton/e2c33bd22591f9a5bd8c9d23a56c9edc
I solved it like this: ```js this.js([ '/freeform/scripts/stripe.js', '/freeform/plugin.js' ]).then((init = false) => { if (init) { // trigger window.onload() manually for stripe.js // when the script is first loaded...
For anyone finding this in the future, as of Freeform 5.2.2 you can now initialise Stripe payments on forms loaded via ajax into your page using the custom `freeform-stripe-load` event:...
I'm still seeing this problem with the the latest version of Hyper (2.2.6) and Craft 5 under these conditions: * The Hyper field is in an entry type assigned to...
@engram-design - Matrix is set to inline blocks - Enabled link types are Asset, Category, Email, Entry and URL (default Entry) - The Hyper field is limited to one link...
Amazing thank you!
I wrote an extension to help with history restores that will prevent Alpine errors on back/forward navigation: https://gist.github.com/croxton/e2c33bd22591f9a5bd8c9d23a56c9edc It also helps to use inline directives over runtime declarations, for example...
@gustavs-gutmanis would you mind making the auto-fetch of CSRF tokens configurable in settings, so it can be disabled / enabled? We have our own logic to handle this, so if...
Another go at the migration to a native link field, but for those who have upgraded to **Craft 5**. I didn't have much luck converting the existing field settings so...