You need to sign in to do that
Don't have an account?
Vishal Ranjan 14
Lightning testing service for onblur() event
Hi,
I have written onblur() function with aura:id="dummyId" inside my <Lightning:input> tag and trying simulating same by using document.getElementById("dummyId").dispatchEvent(event);
But this is giving error saying "Failed: Cannot read property 'dispatchEvent' of null".
Kindly assist.
I have written onblur() function with aura:id="dummyId" inside my <Lightning:input> tag and trying simulating same by using document.getElementById("dummyId").dispatchEvent(event);
But this is giving error saying "Failed: Cannot read property 'dispatchEvent' of null".
Kindly assist.