Added 'onInputChange' to be triggered in Calendar's onChange handler (changeDate) to modify the value before it is set to state.
This allows users to pass in a method to modify the input string before it is set. For example, the user can filter characters by length or values, auto-fill back slashes, and auto-correct.
Added 'onInputChange' to be triggered in Calendar's onChange handler (changeDate) to modify the value before it is set to state.
This allows users to pass in a method to modify the input string before it is set. For example, the user can filter characters by length or values, auto-fill back slashes, and auto-correct.