Question
if id="maxInterest"
The error message will show the id name: maxInterest is required.
if id="maxInterest"
The error message will show the id name: Max interest is required.
Some way to specify the field name in the error message.
In the validationSchema allowing a name to be specified for each input.
Not sure, this is a Yup-related question so I would ask it there.
Yup has .label('Different name')
https://github.com/jquense/yup#mixedlabellabel-string-schema
Example:
Yup.number().label('Amount').moreThan(0).required()
Most helpful comment
Yup has
.label('Different name')https://github.com/jquense/yup#mixedlabellabel-string-schema
Example: