Fix DateTimeComponent not consuming input when leaving edit mode.