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

177
Vistas
I'm trying to insert a text but the input field on my local terminal won't let me

As you can see the code from my Visual Studio Code, it won't let me type within the text input if I render the code

enter image description here

about 4 years ago · Juan Pablo Isaza
2 Respuestas
Responde la pregunta

0

The onChange event on line 36 invokes (updateInput) function. Which doesn't exist or declared inside the component, if you sent it as a prop use :

this.props.updateInput(_params_)

Otherwise declare the function inside the component in order to make the event work properly.

enter image description here

about 4 years ago · Juan Pablo Isaza Denunciar

0

That's because <input /> has constant value, so you need to change value to defaultValue.

<input 
  type="text"
  placeholder="Insert text"
  defaultValue={this.state.newItem}
  onChange={() => {}}
/>

about 4 years ago · Juan Pablo Isaza Denunciar
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