Support the ongoing development of Laravel.io →
Validation Packages
Last updated 3 months ago.
0

As a follow-up:

When I change validation.php to use Validator::extend(), then everything works fine.

However, I cannot get $this->data to be populated when working with Validator::extend() ($this->data is used in for example the 'confirmed' rule from where it reads the confirmation field value).

But I remain my case: if there are no possibilities to achieve two class extensions at the same time (ideally both with access to $this->data), this seems to be like a serious development blocker.

Anyone who can shed some light on this?

Last updated 3 months ago.
0

Sign in to participate in this thread!

Cloudways

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2022 Laravel.io - All rights reserved.