DesignRevision / shards-react

⚛️A beautiful and modern React design system.
https://designrevision.com/downloads/shards-react/
MIT License
759 stars 98 forks source link

How to grab values from forms? #4

Closed ivelichkovich closed 5 years ago

ivelichkovich commented 5 years ago

I followed this documentation to create a form: https://designrevision.com/docs/shards-react/component/form.

A form isn't very useful if you can't access the user supplied values so I'm trying to figure out how to access the values entered into the form.

I have a button in my form that when clicked I want to call a method and from that method access the form values. How do you do this?

I'm also new to react should I could be missing something obvious but help would be greatly appreciated.

frechette-alex commented 5 years ago

https://reactjs.org/docs/forms.html