Support the ongoing development of →
Validation Packages
Last updated 1 year ago.

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 1 year ago.

Sign in to participate in this thread!


Your banner here too?


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.

© 2024 - All rights reserved.