taggingJS icon indicating copy to clipboard operation
taggingJS copied to clipboard

Stop tag input being focussed on page load

Open planktonWD opened this issue 9 years ago • 7 comments

Is there a way to stop the tag input from being focussed on page load? My input in halfway down a form and when the page loads I want it not to be focussed so that the user can start at the beginning of the form.

Thanks!

planktonWD avatar Jun 19 '15 04:06 planktonWD

+1

mhenley-uk avatar Sep 16 '15 22:09 mhenley-uk

@mhenley-uk I just tweaked the JS line 302, commented this out // return this.$type_zone.focus();

hope this helps!

planktonWD avatar Sep 16 '15 23:09 planktonWD

+1

earaujoassis avatar Sep 25 '15 18:09 earaujoassis

Hey @earaujoassis did commenting out that line 302 work for you?

planktonWD avatar Sep 25 '15 19:09 planktonWD

It doesn't make a lot of sense to me to leave this in. Tagging inputs are normally toward the bottom of forms and if you have a large form it forces the page to scroll down.

maccabee0 avatar Mar 23 '16 20:03 maccabee0

I'm facing exactly the same problem. +1 ...

Astriel avatar May 14 '17 09:05 Astriel

@mhenley-uk I just tweaked the JS line 302, commented this out // return this.$type_zone.focus();

hope this helps!

this works.

maoper11 avatar Jun 03 '20 06:06 maoper11