Browse Source

Sync Reservation Component with CodePen example (#3221)

main
Alireza Ayinmehr 5 years ago
committed by GitHub
parent
commit
e2c2fe2642
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      content/docs/forms.md

2
content/docs/forms.md

@ -214,7 +214,7 @@ class Reservation extends React.Component {
handleInputChange(event) {
const target = event.target;
const value = target.name === 'isGoing' ? target.checked : target.value;
const value = target.type === 'checkbox' ? target.checked : target.value;
const name = target.name;
this.setState({

Loading…
Cancel
Save