feat(input): add handling for date input

partially closes #757