export class UserFirstForm extends Component {
constructor(...args) {
super(...args);
this.state = {
open: false,
value: 'select'
};
}
change(){
console.log("WTF");
this.in.state({ open: !this.state.open })
}
render() {
return (
<div>
<form>
<Input type="select" value={this.state.value} label="Please select who the Activity is in relation to:" placeholder="Select"
onChange={this.change}>
<option value="Patient">Patient</option>
<option value="Escort">Escort</option>
<option value="Carer">Carer</option>
<option value="Family">Family Member</option>
<option value="Other" >Other</option>
</Input>
<Button onClick={()=> this.setState({ open: !this.state.open })}>
click
</Button>
<Collapse in={this.state.open} ref="myCol">
<div>
<Well>
Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad
</Well>
</div>
</Collapse>
<Input ... onChange={this.change}>
change = () => {
console.log("WTF");
this.setState({ open: !this.state.open })
};
constructor(...args) {
super(...args);
this.state = {
open: false,
value: 'select'
};
this.change = this.change.bind(this)
}