Fixed a bug of the datetime-local state with the Chrome.