ryangjchandler/laravel-cloudflare-turnstile

Add support for various `data` attributes

ryangjchandler opened this issue · 1 comments

Turnstile accepts a range of data attributes on the CAPTCHA element itself. It would be good to also support those with the directives.

I think the simplest way would probably be passing an array to @turnstile() with key-value pairs for the related data attributes.

A pull request #4 is created for this.