Skip to content
This repository was archived by the owner on Feb 1, 2023. It is now read-only.

Commit 4de48d5

Browse files
committed
Pass optionsTime for TimePicker #11
1 parent c515104 commit 4de48d5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ class DateTimeInput extends Component {
6464
label,
6565
meta: { touched, error },
6666
options,
67+
optionsTime,
6768
source,
6869
resource,
6970
labelTime,
@@ -100,7 +101,7 @@ class DateTimeInput extends Component {
100101
onDismiss={this.onDismiss}
101102
style={{display: 'inline-block'}}
102103
ref={`${this.props.source}.timePicker`}
103-
{...options} />
104+
{...optionsTime} />
104105

105106
<IconButton onClick={this.clearDate} tooltip="Clear Date" tooltipPosition="top-right">
106107
<BackspaceIcon color='grey' hoverColor='black'/>

0 commit comments

Comments
 (0)