Is there a demo of using pf3 ? I can’t manage to find how to update the state using this control. I tried to replace the handleChange function below with a dummy e=>console.log(e)
, but without luck so far.
<FormGroup
controlId="expirationDate"
onChange={this.handleChange}
>
<DatePicker
id="popover-date-picker"
locale="en-US"
placement="top"
value={new Date(this.state.expirationDate)}
weekStartsOn={0}
/>
</FormGroup>