Skip to content

Commit ce832f6

Browse files
committed
minor fix
1 parent daa86c5 commit ce832f6

File tree

1 file changed

+3
-2
lines changed
  • components/SLDSDatepickerSingleSelect

1 file changed

+3
-2
lines changed

components/SLDSDatepickerSingleSelect/index.jsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,8 +171,9 @@ module.exports = React.createClass({
171171
this.setState({
172172
strValue:string
173173
});
174-
if(this.props.onDateChage){
175-
// this.props.onDateChange(value)
174+
if(this.props.onDateChange){
175+
const d = this.props.parser(string)
176+
this.props.onDateChange(d);
176177
}
177178
}
178179
else{

0 commit comments

Comments
 (0)