activar la entrada de la entrada JS
element.dispatchEvent(new Event('input'));
M Abdur Rafey Ahmed
element.dispatchEvent(new Event('input'));
inputField.dispatchEvent(new Event("input"))