I try to open the date selection dialog with the Raised button, which is inside the toolbar item, without joy.
After going through the documentation, I did not find a solution. I tried putting the date picker inside the flat button like this:
<RaisedButton label="Start Date" onTouchTap={this.handleRaisedButtonTap} primary={true}>
<DatePicker autoOk={true} formatDate={this.datePickerFormat} hintText='Start Date' label='Start Date' value={this.state.filter.startDate.display} />
</RaisedButton>
I would like to open a date selection dialog when I click a button.
Any help would be greatly appreciated.
source
share