Change date range input field type to text