Skip to content

[12.x] add explanation and example for prohibited_if rule #10448

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

Conversation

mohammadRezaei1380
Copy link

This pull request adds a dedicated explanation and usage example for the prohibited_if validation rule to the Laravel 12 documentation.

It helps clarify how to conditionally prohibit a field based on the value of another field, which is useful in dynamic form validation scenarios.

… adds a clear explanation and usage example for the `prohibited_if` validation rule in Laravel 12's validation documentation. This helps developers better understand how to dynamically exclude fields from requests based on the value of another field.
… This PR adds a clear explanation and usage example for the `prohibited_if` validation rule in Laravel 12's validation documentation. This helps developers better understand how to dynamically exclude fields from requests based on the value of another field."

This reverts commit 8d5a8c8.
@taylorotwell
Copy link
Member

This seems to already be documented?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants