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

582
Views
¿Por qué cambia el color de fondo de mi MUI TextField después de ingresar datos y cómo evito eso?

Tengo un TextField dentro de un FormControl dentro de un Styled Control (Paper) que se parece a esto:

 const StyledPaper = styled(Paper)(({ theme }) => ({ backgroundColor: "#99d6ff", width: '90%', justify: 'center', textAlign: 'center' })); ... <StyledPaper square={false} > <FormControl variant="filled" fullWidth> <TextField id="loginInput" label="Login" InputLabelProps={{ shrink: true }} value={login} onChange={() => handleInputChange("loginInput")} /> </FormControl> </StyledPaper>

El problema que tengo aquí es que cuando selecciona TextField y lo completa con un autocompletado, el fondo cambia a blanco (el color del fondo de autocompletado). Si solo escribo y no uso el autocompletar, el fondo permanece como pretendía desde StyledPaper. ¿Cómo puedo evitar el cambio de color de fondo?

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!