0

I recently updated chrome browser and all of a sudden the datetime-local input type is failing to validate. I keep receiving the following warning. Image with the warning I mention that input properties are set correctly. image with the input html code

My code for the input:

<input type="datetime-local" class="form-control" name="reg_date" id="reg_date" value="<?= date('Y-m-d\TH:i:s') ?>">

I'm using Chrome Version 108.0.5359.99 (Official Build) (64-bit) Has anybody encountered this issue ?

I tried to check with different dates, works perfect on Firefox, chrome still failing to validate

0 Answers0