How can I ensure that my API is called only when a date is selected from the calendar or when the Enter button is pressed after manually changing the date field, rather than on every change in a modal popup where I edit and enter data?
current code
date input
i have tried it to with onblur but even after i select a date from the calender the function i called with onblur wont work. Also tried using the onMouseDown it works for the lap but not in my phone.
New contributor
Midhun p k is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.