Browse Source

Update checkbox values.

feature/bike-tracking
Drew Larson 8 years ago
parent
commit
98dd04b129
  1. 3
      bikeshop_project/assets/js/bikes/components/BikeForm/index.jsx

3
bikeshop_project/assets/js/bikes/components/BikeForm/index.jsx

@ -155,7 +155,7 @@ class BikeForm extends React.Component {
label="Stolen" label="Stolen"
labelPosition="left" labelPosition="left"
style={styles.checkbox} style={styles.checkbox}
value={stolen} checked={stolen}
disabled disabled
/> />
</div> </div>
@ -173,6 +173,7 @@ class BikeForm extends React.Component {
<div className="mdl-cell mdl-cell--4-col"> <div className="mdl-cell mdl-cell--4-col">
<div style={styles.block}> <div style={styles.block}>
<Checkbox <Checkbox
checked={this.state.bike.stripped}
name="stripped" name="stripped"
label="Stripped" label="Stripped"
labelPosition="left" labelPosition="left"

Loading…
Cancel
Save