Course contentsShow
React
Lesson 451 of 2,39613. Controlled ComponentsPro lesson

The value Prop on Inputs

Setting value on an <input> makes it read-only unless paired with onChange—React takes full control of the input's display.

This lesson is for subscribers

You've completed the free preview. Subscribe to unlock every lesson in every course.