Use date picker as input view.