react-form-controls Flashcards
(2 cards)
1
Q
What are controlled components?
A
input form where the value is controlled by react
2
Q
What two props must you pass to an input for it to be “controlled”?
A
handlesubmit
handlechange