calendar fixed

This commit is contained in:
VividTruthKeeper 2022-03-25 00:13:07 +03:00
parent 5eca31463c
commit 9d0cf7fd18
1 changed files with 1 additions and 2 deletions

View File

@ -82,10 +82,9 @@ const CardStage3 = ({ setStage, data, setData }) => {
</label>
<input
type="date"
min="1900-01-01"
min={getDate(0)}
id="date"
name="date"
max={getDate(18)}
defaultValue={inputValid.date}
onChange={(e) => {
if (e.target.value !== "") {