react form controls Flashcards
1
Q
What are controlled components?
A
some type of input and its controlled by component state
2
Q
What two props must you pass to an input for it to be “controlled”?
A
value and the onchange eventlistener