TimePicker
Extends:
react~React.Component → TimePicker
TimePicker is a component showing datetime picker
Access
Stage.Basic.TimePicker
Usage
<TimePicker name='scheduledTime' value={this.state.scheduledTime} defaultValue=''
minDate={moment()} maxDate={moment().add(1, 'Y')}
onChange={(event, field) => this.setState({scheduledTime: field.value, queue: false})} />
Static Member Summary
Static Public Members | ||
public static |
propTypes: * propTypes |
Static Public Members
public static propTypes: * source
propTypes
Properties:
Name | Type | Attribute | Description |
name | string | name of the field |
|
defaultValue | object | string data value to be set when Reset button is clicked |
|
value | object | string data value |
|
placaholder | string |
|
input field placeholder |
timeIntervals | number |
|
time interval between available time options (in minutes) |
minDate | object |
|
moment object for minimal date available in picker |
maxDate | object |
|
moment object for maximal date available in picker |
onChange | Function |
|
function called on data picker change |