# \[FEATURE-12797\] Set focus on components

**URL:** <https://forum.inductiveautomation.com/t/feature-12797-set-focus-on-components/23339>\
**Category:** Ignition Early Access\
**Created:** [March 14, 2019, 3:14pm UTC](https://forum.inductiveautomation.com/t/feature-12797-set-focus-on-components/23339 "2019-03-14T15:14:04Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![andrea.morando](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/andrea.morando/32/8039_2.png) [@andrea.morando](https://forum.inductiveautomation.com/u/andrea.morando)\
**Post date:** [March 14, 2019, 3:14pm UTC](https://forum.inductiveautomation.com/t/feature-12797-set-focus-on-components/23339/1 "2019-03-14T15:14:04Z")

</div>

Dear all,  
I am currently using the **b2019031202**.  
I need to set the focus active on a component. In the former versions (java) I usually set the “transferFocus” method.  
How can I do it in Perspective?

Thank you a lot.

---

<div class="post-metadata">

**Author:** ![andrea.morando](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/andrea.morando/32/8039_2.png) [@andrea.morando](https://forum.inductiveautomation.com/u/andrea.morando)\
**Post date:** [March 14, 2019, 3:15pm UTC](https://forum.inductiveautomation.com/t/feature-12797-set-focus-on-components/23339/2 "2019-03-14T15:15:32Z")

</div>

I made a dir(self) on the component, but I did not find any method suitable to set the focus.

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [March 14, 2019, 3:34pm UTC](https://forum.inductiveautomation.com/t/feature-12797-set-focus-on-components/23339/3 "2019-03-14T15:34:16Z")

</div>

We have an active internal ticket to add this functionality - you’re not missing anything, it’s just not possible yet.

---

<div class="post-metadata">

**Author:** ![awalker](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/awalker/32/6874_2.png) [@awalker](https://forum.inductiveautomation.com/u/awalker)\
**Post date:** [April 10, 2019, 9:58pm UTC](https://forum.inductiveautomation.com/t/feature-12797-set-focus-on-components/23339/4 "2019-04-10T21:58:24Z")

</div>

This feature was added in the build uploaded today (4/10).

Normally we have the nightly builds accessible via [https://inductiveautomation.com/downloads/ignition](https://inductiveautomation.com/downloads/ignition), but in the meantime you can find it via this post:  
[8.0.1 Nightlies - Temporary Place to Download the Latest Builds](http://forum.inductiveautomation.com/t/8-0-1-nightlies-temporary-place-to-download-the-latest-builds/24014/2)

Let us know if you have any issues.

---

<div class="post-metadata">

**Author:** ![brian.mills](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/brian.mills/32/6348_2.png) [@brian.mills](https://forum.inductiveautomation.com/u/brian.mills)\
**Post date:** [April 30, 2019, 9:26pm UTC](https://forum.inductiveautomation.com/t/feature-12797-set-focus-on-components/23339/5 "2019-04-30T21:26:29Z")

</div>

@ awalker, is your link still the place to get the 8.0.1?

---

<div class="post-metadata">

**Author:** ![awalker](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/awalker/32/6874_2.png) [@awalker](https://forum.inductiveautomation.com/u/awalker)\
**Post date:** [April 30, 2019, 9:37pm UTC](https://forum.inductiveautomation.com/t/feature-12797-set-focus-on-components/23339/6 "2019-04-30T21:37:55Z")

</div>

Hi @brian.mills,

You can go to [https://inductiveautomation.com/downloads/ignition](https://inductiveautomation.com/downloads/ignition) and select “Early Access” from the drop-down to get the 8.0.1 RC.

---

<div class="post-metadata">

**Author:** ![bebel](https://avatars.discourse-cdn.com/v4/letter/b/43a26b/32.png) [@bebel](https://forum.inductiveautomation.com/u/bebel)\
**Post date:** [July 10, 2019, 5:46pm UTC](https://forum.inductiveautomation.com/t/feature-12797-set-focus-on-components/23339/7 "2019-07-10T17:46:30Z")

</div>

The .focus() method works for text fields and text areas but is not working for numeric entry fields. There are no errors, it just doesn’t do anything.

---

<div class="post-metadata">

**Author:** ![osolorzano](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/osolorzano/32/6432_2.png) [@osolorzano](https://forum.inductiveautomation.com/u/osolorzano)\
**Post date:** [July 10, 2019, 6:44pm UTC](https://forum.inductiveautomation.com/t/feature-12797-set-focus-on-components/23339/8 "2019-07-10T18:44:27Z")

</div>

This is going to be fixed as part of 8.0.3 and should already be functional on the nightly build.

---

<div class="post-metadata">

**Author:** ![michal.koblasa](https://avatars.discourse-cdn.com/v4/letter/m/ce7236/32.png) [@michal.koblasa](https://forum.inductiveautomation.com/u/michal.koblasa)\
**Post date:** [October 10, 2019, 1:03pm UTC](https://forum.inductiveautomation.com/t/feature-12797-set-focus-on-components/23339/9 "2019-10-10T13:03:30Z")

</div>

Thank you, this is also important for me. Because i want to use sequencial barcode scanning (one input after another without “click” interaction), and auto focus is not working in case of Numeric Entry Field.

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [October 10, 2019, 1:52pm UTC](https://forum.inductiveautomation.com/t/feature-12797-set-focus-on-components/23339/10 "2019-10-10T13:52:58Z")

</div>

@michal.koblasa I just checked and it does work for Numeric Entry Fields. If it is not working for you, and you’re on 8.0.3 or newer, then we need to investigate the reason it isn’t working. Could you please verify your version?

---

<div class="post-metadata">

**Author:** ![michal.koblasa](https://avatars.discourse-cdn.com/v4/letter/m/ce7236/32.png) [@michal.koblasa](https://forum.inductiveautomation.com/u/michal.koblasa)\
**Post date:** [October 14, 2019, 8:00am UTC](https://forum.inductiveautomation.com/t/feature-12797-set-focus-on-components/23339/11 "2019-10-14T08:00:56Z")

</div>

@cmallonee Hello, i needed to upgrade, i had some issues while upgrading. But not it is working fine. In 8.0.4.  
Thank you for assistance and fast problem solving.
