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

118
Vistas
Material-ui Dialog disappears and reappears when TextField are changed

I have a dialog with a bunch of TextFields populated by a JSON response form an API call. I have an issue where when I edit a TextField by adding or removing text, the dialog disappears and then reappears. This happens after any key on the keyboard is pressed while there is one TextField in focus. After the dialog reappears, the focus on the desired TextField is lost, but the added/removed character is persistent.

My code is quite long so I will only include a short example of my JSON response here. The rest of the code can be found in code sandbox.

My goal with this code is to open the Dialog from a Material-Table and populate the fields with data from the chosen row and allow the user edit data. In its current state, opening the dialog and populating the fields from the table works perfectly and is not included in the code sandbox for the sake of length.

My JSON response only contains one nested array which is not currently in use:

{
  "Domain": "Stack Overflow",
  "Experience": "SO",
  "SizingContact": "Ciaran Crowley",
  "SizingComments": "Test update 2",
  "expensetypes": [
    "Effort",
    "Other Opex - Other",
    "Other Opex - Sundry"
  ]
}
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