Added max to date input