I am using ajax to fetch the data from remote with select2. Most of the things are working fine. Need help on fixing a couple of issues:
1. I used this option `minimumInputLength: 3` for preventing ajax unless usr input contains at least 3 characters. But it has no effect on the ajax. select2 is still sending the ajax for texts with lenth less than 3. How can i fix this?
2. When i focus on the select box associated to select2, it sends an ajax even before i type something and gives me "No results found". How can i stop that request and not show this message until user actually types something?
Thanks