BattlePro / battlepro-issues

1 stars 0 forks source link

When searching for teams, no username shows as a I type #298

Closed nikkiradloff closed 6 years ago

nikkiradloff commented 6 years ago
screen shot 2018-03-06 at 3 54 34 pm
kylerc commented 6 years ago

@nikkiradloff this is on the live style right? On the /index.php?teams/(team id)/manage-members route? From what I can tell on live this is working for me currently, but maybe there's something else going on.

nikkiradloff commented 6 years ago

Yeah on live. I was creating a league at the time and nothing popped up for me at least

kylerc commented 6 years ago

Ah yep I can replicate that. @JakeBooher can you take this? Looks like just needs template setup as an autocomplete to whatever the backend is using for this.

JakeBooher commented 6 years ago

I don't think we have an autofill JS function for teams, XenForo's auto complete isn't something you can use for other content types, so we'll probably need that as well

JakeBooher commented 6 years ago

Actually -- looks like we have an endpoint already: teams/find?q=inputvalue so this is strictly a JS thing currently it appears

JakeBooher commented 6 years ago

Tracked down js/battlepro/tournament/teamAutoComplete.js, so it appears this exists already -- will get it hooked up