function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
JuuanGallegosJuuanGallegos 

I'm getting this error [event.getSource(...).getElement is not a function] any idea how do I can solve it ?

Tanuj TyagiTanuj Tyagi
It can be related with Locker Service enable. Also, try to use use a ui:button rather than a lightning:button.
JuuanGallegosJuuanGallegos

Hi Tanuj, even I'm using an "ui:inputNumber" and I receive the error once I fired a focus event, I'm trying to get the element, using this code:

 

var inputSelected = event.getSource().getElement();