Byteclaw / visage

Visage design system
https://visage.design
MIT License
12 stars 3 forks source link

[TextArea] - does not work with react-hook-form correctly #631

Closed michalkvasnicak closed 4 years ago

michalkvasnicak commented 4 years ago

I think we need to replace onChange and value with DOM events (these are necessary for autoresizing). Otherwise react-hook-form does not work correctly unless the TextArea is used as controlled component.