I use invisible recaptcha, so I create a submit button using {!! NoCaptcha::displaySubmit('my-form-id', 'submit now!', ['data-theme' => 'dark']) !!}
As a result i have:
<button data-callback="onSubmitloginform" data-sitekey="xxxxxxAAIjtNYEnJiXvwvofhxxxxxxxxxl" class="g-recaptcha"><span>submit now!</span></button>
But I have to add additional classes to make a proper style, like
<button data-callback="onSubmitloginform" data-sitekey="xxxxxxAAIjtNYEnJiXvwvofhxxxxxxxxxl" class="g-recaptcha class1 class2 class3 btn btn-primary"><span>submit now!</span></button>
just use something like this and that's gonna work:
{!! NoCaptcha::displaySubmit('my-form-id', 'submit now!', ['class' => 'class1 class2 class3 btn btn-primary']) !!}
I use invisible recaptcha, so I create a submit button using
{!! NoCaptcha::displaySubmit('my-form-id', 'submit now!', ['data-theme' => 'dark']) !!}
As a result i have:<button data-callback="onSubmitloginform" data-sitekey="xxxxxxAAIjtNYEnJiXvwvofhxxxxxxxxxl" class="g-recaptcha"><span>submit now!</span></button>
But I have to add additional classes to make a proper style, like<button data-callback="onSubmitloginform" data-sitekey="xxxxxxAAIjtNYEnJiXvwvofhxxxxxxxxxl" class="g-recaptcha class1 class2 class3 btn btn-primary"><span>submit now!</span></button>
How can I do it?