prugala / PRRecaptchaBundle

Recaptcha v3 bundle for Symfony
MIT License
14 stars 8 forks source link

Error message not shwoing #16

Open ahmed-bhs opened 5 years ago

ahmed-bhs commented 5 years ago

Question Is it possible to change the property path from children[captcha].data to data.captcha ? because the message error is not shown. I tried to add preperty_path option but still same.

prugala commented 5 years ago

Hi, I will check it soon and back to you.

ahmed-bhs commented 5 years ago

think it's because mapped is set to false !!

prugala commented 5 years ago

@ahmed-bhs can you show me your form class? Do you have custom validation groups? I tested with simple form: form

and when I submited the form with edited recaptcha token I got error for recaptcha field:

error