I have been searching through other posts and finding issues similar to but not quite what I am looking for.
I need to know simultaneously if the different conditions are met for a password to highlight the visual below.
What I'm seeing coming back right now is just the error message for the first condition that is not met.
The validation schema
validationSchema: Yup.object({
password: Yup.string()
.required('Required')
.min(8, 'Must be 8 characters or more')
.matches(/[A-Z]+/, 'One uppercase character')
.matches(/[@$!%*#?&]+/, 'One special character')
.matches(/\d+/, 'One number'),
}),
Here is the ui I want to be able to update just to help in case I'm not explaining well enough
