Problem:
typeahead always start http request when limit search length is affected , this make a lot of traffic and load of server
in my case html input is used to find products from db and to set quantity of added rows by using (+Quantity) , I want a configuration that allow me to specify which datatype must search for , for example I want prevent typeahead from searching for numbers or symbols.
Solution:
maybe adding ( datatype ) for configuration is useful.
or let users to verify search term and decide that term must be search or not using some function that return term like :beforeRequest(term){
if(Number.isNaN(term) return false;
}
Problem: typeahead always start http request when limit search length is affected , this make a lot of traffic and load of server in my case html input is used to find products from db and to set quantity of added rows by using (+Quantity) , I want a configuration that allow me to specify which datatype must search for , for example I want prevent typeahead from searching for numbers or symbols.
Solution: maybe adding ( datatype ) for configuration is useful. or let users to verify search term and decide that term must be search or not using some function that return term like :beforeRequest(term){ if(Number.isNaN(term) return false; }![Screenshot 2020-11-23 132446](https://user-images.githubusercontent.com/45799461/99951762-a82c9780-2d8f-11eb-90e0-cc33336b2691.png)