I just have a simple line of code like this:
Is there a sim
JavaScript only simple solution
datePickerId.max = new Date().toISOString().split("T")[0];