Autodesk / orion-ui

UI Components that work seamlessly in multiple UI frameworks
https://goo.gl/shxHPB
Other
22 stars 6 forks source link

Create controlled TextField component #301

Closed nfiniteset closed 7 years ago

nfiniteset commented 7 years ago

This augments the TextField adapter with a controlled TextField component.

Controlled in this case means that if you assign a value prop, the input will not change when the user types into it. This is how inputs typically behave in React, so it's important that ours is consistent.

nfiniteset commented 7 years ago

Good catches @aneyzberg thanks!