-1👍
You could simulate "click" and "change" events for the input that is not being validated
Something like
const event = new Event('click');
elem.dispatchEvent(event);
See MDN reference
Source:stackexchange.com
-1👍
You could simulate "click" and "change" events for the input that is not being validated
Something like
const event = new Event('click');
elem.dispatchEvent(event);
See MDN reference