Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

145
Vistas
yup condition for password in react

password: Yup.string()

    .matches(
    "^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[#!@$%^&*()+=]).{8,20}$",
    `Should contains at least 8 characters and at most 20 characters\n 
    Should contains at least one digit\n 
    Should contains at least one upper case alphabet\n 
    Should contains at least one lower case alphabet\n
    Should contains at least one special character which includes !@#$%&*()+=^\n
    Should  contain  white space`
    )
    .required("Password is required")

in the text field it can not take white space except white space it take all symbols and characters .how to enable the white space field. If I want to write Pass @ 123 its not able to type?

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda