 Issue can be seen on above capture. Date remains after deleting tom from input.