kirkbushell / eloquence

A drop-in library for certain database functionality in Laravel, that allows for extra features that may never make it into the main project.
MIT License
537 stars 60 forks source link

Can't work with `confirmed` validator #96

Closed chantouchsek closed 10 months ago

chantouchsek commented 3 years ago

if we are using confirmed validator, it will not pass the validation.

kirkbushell commented 2 years ago

@chantouchsek can you provide more information and details?

chantouchsek commented 2 years ago

Ok, if we are using this package into model, and that model need to validate confirmed. so the validation will never pass.

chantouchsek commented 1 year ago

'password' => ['required', 'min:6', 'max:255', 'confirmed'],

kirkbushell commented 10 months ago

@chantouchsek I understand what you meant with the original post, I was just hoping for more clarity around what was happening. Is the validator simply returning false? Any errors?

chantouchsek commented 10 months ago

@chantouchsek I understand what you meant with the original post, I was just hoping for more clarity around what was happening. Is the validator simply returning false? Any errors?

I think basically you can reproduce with above validation context.

chantouchsek commented 10 months ago

Is there any fix?

chantouchsek commented 10 months ago

Ahh maybe using the CamelCasing and with the validation of confirmed