pushtell / react-bootstrap-date-picker

React-Bootstrap based date picker.
MIT License
347 stars 195 forks source link

onChange should return event object #103

Open pablooneto opened 7 years ago

pablooneto commented 7 years ago

onChange should return event object

Expected Behavior

onChange: function(event, value, formattedValue)

Current Behavior

onChange: function(value, formattedValue)

Possible Solution

Add the argument, maybe on a different hook

Steps to Reproduce (for bugs)

just put a DatePIcker and see the callback functions