react-form-controls-Q&A Flashcards
(2 cards)
1
Q
What are controlled components?
A
An input form element whose value is controlled by React
2
Q
What two props must you pass to an input for it to be “controlled”?
A
value and onChange