Posts by Lucas Yuri • 1 point
1 post
-
0
votes2
answers1128
viewsA: Do not allow Retroactive date in the Date type field
I got it this way <input type="date" max={new Date().getFullYear() + '-' + String(new Date().getMonth() + 1).padStart(2, '0') + '-' + new Date().getDate()} name="stockDate" id="dateMax" />…