hi all, i have a problem with the datetime-local tag with firefox.
https://jsfiddle.net/wLtbyx7p/ i have an empty input. i use the "native interface" to select the date the input is now "12/05/2025 --:--" since i haven't selected a hour yet. => since it is not a valid date, the value isn't changed and is still a empty string. with chrome : when selecting a date, it automatically fills the hour to be "now" therefore, the input is valid and changes.
with firefox, how do i catch the input change from "empty" to "date selected" in order to automatically set the hour to "now" ?