Uh oh!
There was an error while loading. Please reload this page.
docs: further specify alpha-rules and the permit_empty rule - #9818
Conversation
Specified that the alpha-rules fail on empty strings and that permit_empty will skip all other rules except for required_with and required_without.
Hi there, wipped! 👋 Thank you for sending this PR! We expect the following in all Pull Requests (PRs).
Important We expect all code changes or bug-fixes to be accompanied by one or more tests added to our test suite to prove the code works. If pull requests do not comply with the above, they will likely be closed. Since we are a team of volunteers, we don't have any more time to work See https://github.com/codeigniter4/CodeIgniter4/blob/develop/contributing/pull_request.md Sincerely, the mergeable bot 🤖 |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Clarify behavior of permit_empty validation rule.
Uh oh!
There was an error while loading. Please reload this page.
Clarify the behavior of the 'permit_empty' validation rule.
Uh oh!
There was an error while loading. Please reload this page.
michalsn
commented
Dec 5, 2025
Thank you @wipped |
Description
Specified that the alpha-rules fail on empty strings and that permit_empty will skip all other rules except for required_with and required_without.