how to restrict invalidate in input type datetime-local

<input type=”datetime-local” step=”1″> In that, how to avoid invalid date input. Suppose I am insert date like “11:11:1111” in “mm-dd-yyyy” format. how can solve this using Moment.js Answers: Thank you for visiting the Q&A section on Magenaut. Please note that all the answers may not help you solve the issue immediately. So please treat them … Read more