Changed input type from date to text