add date input event