MyBB Community Forums

Full Version: users.php - minimumInputLength
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

Sorry can't post a link, but on page /private.php?action=send
The code for select2:  $("#source_username").select2

In here are a bunch of options, one is "minimumInputLength", I cannot find where to modify this value in the source code after much searching Angry .  Any ideas?

It's not very easily readable, but I think its in /jscripts/select2/select2.min.js.
I found it in "private_send_autocomplete".
This is the bit I was after:
if(use_xmlhttprequest == "1")
placeholder: "{$lang->search_user}",
minimumInputLength: 3,
maximumSelectionSize: 3,