File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,8 @@ DateTimeField = React.createClass({
13
13
dateTime : React . PropTypes . string ,
14
14
onChange : React . PropTypes . func ,
15
15
format : React . PropTypes . string ,
16
- inputFormat : React . PropTypes . string
16
+ inputFormat : React . PropTypes . string ,
17
+ inputProps : React . PropTypes . object
17
18
} ,
18
19
getDefaultProps : function ( ) {
19
20
return {
@@ -285,7 +286,7 @@ DateTimeField = React.createClass({
285
286
togglePeriod = { this . togglePeriod }
286
287
/>
287
288
< div className = "input-group date" ref = "datetimepicker" >
288
- < input type = "text" className = "form-control" onChange = { this . onChange } value = { this . state . inputValue } />
289
+ < input type = "text" className = "form-control" onChange = { this . onChange } value = { this . state . inputValue } { ... this . props . inputProps } />
289
290
< span className = "input-group-addon" onClick = { this . onClick } onBlur = { this . onBlur } ref = "dtpbutton" > < Glyphicon glyph = "calendar" /> </ span >
290
291
</ div >
291
292
</ div >
You can’t perform that action at this time.
0 commit comments