Skip to content

onChange does not receive 'event' argument #356

Description

@okputadora

In the documentation it says that all props from react-native-community/react-native-datetimepicker are available. While this is true, the onChange prop in react-native-datetimepicker receives an event object and the date object as arguments while the onChange prop in this library seems to only receive the date.

https://github.com/react-native-community/react-native-datetimepicker#onchange-optional

Lack of access to the event is causing issues for me because I am trying to implement a fix to set the initial date value described here: react-native-datetimepicker/datetimepicker#94 currently there is no way to set an initial value in either library.

Thanks in advance for any advice or help you might be able to provide me

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions