Allow date format for the input binding.
add  injection