@Mr-Khaira
Posted
Hi, I first entered an invalid date and month, and pressed the button, it generated -1, after that valid input and pressed enter nothing changed. The component is not being re-rendered.
Maybe you should debug the code. Please check out my solution and provide an opinion as well.
Thank you.
@jestaputra
Posted
thank you for your solution @Mr-Khaira