¡GoConqr estrena diseño! Cuéntanos qué te parece.

Módulo 17 de 18 · Multimedia

RD-1.Add an input field

Kostas Diakogiannis

RD-1.Add an input field

RD-1. Add input field for deposit and withdraw

Let's try to have an exercise, instead of just adding or taking 50 dollars as a fixed value, try to take this number from an input field. 

So create a new component, that renders only one input field. This input should be of type number, and it's value, should be stored in centralized state anytime, the value changes. Then when we clicked the corresponding buttons, the function should trigger the dispatch action by the value this field has at the time. 

After clicking, reset the field's value back to 0.

Instrucciones

Para avanzar en el curso, envía un intento de este test. Puedes enviarlo después de la última pregunta.

Ir al módulo elegido

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?