Or you can use min and max attributes.
[EDIT] I think Rafael S P Valle da Silva hit the nail on the head. I didn't think about how the comma and dot are reversed in some locals. Nice!
I see you Downvoter...nice that you downvote someone for trying to help very SOish of you.
[EDIT] the downvoter is gone, they tend to vanish when you call them out 😂
Rafael S P Valle da Silva thank you, I saw I had your upvote, and I thank you for that. But you understood what was being asked and gave the needed input. Thank you for helping.
I noticed someone had downvoted. I don't do it because it is not constructive. I think it's better to post a comment with constructive criticism.