Bind input field to datepicker