InputText focus

UI Components for Vue
Post Reply
jcrisantog
Posts: 1
Joined: 25 Jun 2020, 23:06

25 Jun 2020, 23:10

Hi.

How can I focus on an InputText after executing a method ... try the instruction below but it doesn't work

this. $ refs.email.focus ();

Thank you.

cagatay.civici
Prime
Posts: 18303
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

04 Jul 2020, 10:25

Please try;

Code: Select all

this.$refs.email.$el.focus();

Post Reply

Return to “PrimeVue”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 2 guests