How to trigger change event on html input element

Does anybody know how to fire change events on HTML input?

I’m trying to build a reusable element that handles time input. I managed how to pass the initial value when the page loads. does anybody know how to listen for value changes? I need to reset the state when it changes.

This topic was automatically closed after 70 days. New replies are no longer allowed.