-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
[Form][Validator] Validation not working if not mapped #20880
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
How is your form handled and validated on controler side ? |
Oh... I have to explain: Short answer: Everything is fine, validation is not broken
The key point is: OMG I even created a new symfony project to understand that, it took me 1 hour... |
Perhaps try to open a documentation PR if you think this may be valuable |
I should do this |
I'll think how to do it better
What's better? |
I am not so familiar with form but open a PR and I am sure you will get reviews :) |
Ok, at any rate thanks a lot |
Even if a checkbox is not checked form will pass validation (no errors), hmm... strange
To reproduce
PHP 8.4.2 (cli) (built: Dec 17 2024 17:30:12) (ZTS Visual C++ 2022 x64)
Copyright (c) The PHP Group
Zend Engine v4.4.2, Copyright (c) Zend Technologies
with Zend OPcache v8.4.2, Copyright (c), by Zend Technologies
SYMFONY v7.2.5
The text was updated successfully, but these errors were encountered: