This can be seen best in case of a dark captcha on a dark background:
This is the corresponding code snippet:
Code: Select all
<div class="flex justify-content-between align-items-center mt-3">
<p-captcha siteKey="xx" (onResponse)="captchaResponse($event.response)" theme="dark"></p-captcha>
<button pButton type="submit" label="Submit" [disabled]="!reportForm.valid"></button>
</div>