You need to sign in to do that
Don't have an account?
vinay maladkar 11
Lightning : How do I set/out focus on UI:InputText
Hi,
I have a requirement to set focus and out focus for an UI:inputIText field on click of a button in lightning component. How I can achieve this?
I tried - component.find('myText').element().blur();
but this does not work.
Thanks in advance,
Vinay
I have a requirement to set focus and out focus for an UI:inputIText field on click of a button in lightning component. How I can achieve this?
I tried - component.find('myText').element().blur();
but this does not work.
Thanks in advance,
Vinay
Karthik K
Using above methid the event object seems to be undefined. Any workarounds to get the event object (event.getParams())