After the user selected a date, display it directly into the input field