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

242
Vistas
Issue when I clear the Draft.js Input field, previous added messages are disappearing when I clear the content

Hello everyone I m making simple chat with React and Draft.js, I m having an issue here, When I submit the value from Draft.js to the chat room it works fine, but when I erase the value from Draft.js input field to send another message, previous message gets erased in the chat, but as soon as I type something in Draft.js input field the text comes back to chat room.

Can someone help me with this issue, where I am making the mistake. You can also see the gif below. Thanks

enter image description here

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