Skip to content

onChange doesn't fire #19

@jeromevvb

Description

@jeromevvb

Hello guys,

Hope you're doing well.
Thanks for this nice component!

I just download this library and started to use but i realized a problem with the onChange method.
My method setDatetime is not called :(

<DateTimePicker DatePicker={DatePickerDialog} TimePicker={TimePickerDialog} onChange={this.setDatetime} />

setDatetime = (datetime) => { console.log(datetime); }

Any errors in the console..
What happened?

i looked the material-ui-datepicker code and i saw you tried to fire up the onChange method inside SelectTime function but you the prop "onAccept" on material-ui timepicker but this props doesnt exist right?
Please let me know if am doing something wrong!
Thaaaaaaank you!!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions