Skip to content

Commit 4cc57cc

Browse files
author
Michael Katsevman
committed
updateDate wasn't calling onChange like setTime was
1 parent eba92bd commit 4cc57cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DateTime.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ var Datetime = React.createClass({
217217
selectedDate: date,
218218
viewDate: date.clone().startOf('month'),
219219
inputValue: date.format( this.state.inputFormat )
220-
});
220+
}, this.callOnChange );
221221
},
222222

223223
openCalendar: function() {

0 commit comments

Comments
 (0)