Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

394
Views
How to customize or localize the error texts in React

I have a new user form. I am using Validator from "react-admin-base-adminkit". I want to customize error messages or translate them to another language. For example, there is an error for e-mail:

"An error occurred while updating the entries. See the inner exception for details. 23505: duplicate key value violates unique constraint "IX_Users_email""

I want to change it like:

"Please, enter a different e-mail"

How can I do that?

import { Validator } from "react-admin-base-adminkit";
...
 <Validator name="email" type="required">
     <Input
         type="email"
         value={data.email}
         onChange={(a) => setData({ email: a.currentTarget.value })}
     />
</Validator>
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!