Flatpickr: Changing only time does not trigger onChange event

Created on 6 Jul 2016  路  3Comments  路  Source: flatpickr/flatpickr

Hi,

I noticed that when opening the picker, changing only the time of day, and closing it, no onChange event is generated. The input value and actual date are updated, but my event handler is not called. Did I miss something? (e.g. time-specific onChange event)

Thanks a lot for the project. Very useful.

Cheers!

bug

Most helpful comment

@on-input or @oninput not firing when only changing time. This is still an issue.

All 3 comments

did you tried oninput event?

@sijad oninput is not triggered when setting value via code.

@chmln Thanks! Works like a charm.

@on-input or @oninput not firing when only changing time. This is still an issue.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

T-Hugs picture T-Hugs  路  3Comments

PierreGirbau picture PierreGirbau  路  3Comments

titiyoyo picture titiyoyo  路  3Comments

ankur-pandey7 picture ankur-pandey7  路  3Comments

ibarral picture ibarral  路  3Comments