Crocoblock / jetformbuilder

79 stars 16 forks source link

Datetime Field when selecting or writing a value does not fire onchange event on Webkit browser ONLY #233

Open eclipses opened 1 year ago

eclipses commented 1 year ago

Hi,

I'm creating automated tests for my website and found a failure only on Webkit browser (Safari).

When a new value is assigned to a DateTime Field and I have declared a listener for onchange event

document.querySelector('input[type="datetime-local"]').onchange = function() { calculateResults(); };

This does not fire the event. I suppose as the HTML of the input event does not change.

Tests are passed in all other browsers. Maybe it is possible to add the text to the input tag and so that this could fire the onchange of this element.

I hope my description make sense.

Please let me know

Kind regards Eclipses

eclipses commented 1 year ago

Please any news about this issue?